kvmuniversity.blogg.se

How to compile easytrieve program
How to compile easytrieve program







how to compile easytrieve program how to compile easytrieve program

PARM DEBUG (STATE) ENVIRONMENT(COBOL) LIST (FILE PARM)ĭid you get to the called programs? Post up your code. Try adding this to the first statment in program But my easytrieve module is not calling the cobol module.Could any one having the sample code past it here? I tried whatever mentioned here and my program is giving a return code of 0. I've also moved the topic to CA Products from the COBOL part of the forum so maybe others who are currently doing this will post how this works on their system.įYI, Make sure the steplib has the location of the compiled cobol load module Which release of Easytrieve are you using? I'm trying to determine if there are release level issues/differences.

how to compile easytrieve program

Sorry that i've not gotten back sooner, but when i tried to put this on a system, a few surprises happened. In the meantime, i'd suggest you give it a try and if anything unexpected happens, post back here and we'll figure it out. If i can, i'll try something later tonight or tomorrow. I do not believe there should be any linkedit issues. Try the test i mentioned earlier using a dynamic call in the test cobol calling program (rather than a static call). You should not need to link it with the eztrieve code. Sorry for the third mail.Could you please tell me how to link it with easytrieve module. You might create a simple cobol program to call your module and then call it via easytrieve making sure both perform the same way. In my example COBPGM is the name of the cobol load module.Ĭompiling the called module is the same as compiling it for being called by another cobol program. You can also specify RETURNS to recieve the return code from the called module. This example shows passing both a literal and a data field to the called module. If possible can anyone cut and paste the required parts of the modules.Ĭalling a cobol module from easytrieve is very similar to calling a cobol program from another cobol program.

how to compile easytrieve program

How to specify the load module in the program? Calling a cobol from easytrieve -IBM MainframesĬan any tell me how to call a cobol program from an easytrieve.









How to compile easytrieve program