View previous topic :: View next topic
|
Author |
Message |
shammiullah
New User
Joined: 13 Jun 2005 Posts: 24
|
|
|
|
1.how to compile and run the subprogram.do v have to first compile the subprogram and then the main pgm.then how to code in the run jcl.is it enough if i give the load module of main pgm in the steplib or i have to give steplib for sub program also.my ques is both for dynamic and static situation.
2.when do v use evaluate and when do v use 88 level(condition names)...r the both called switches.i need the exact difference.
help me out guyz...
thans and regards. |
|
Back to top |
|
|
vinodmaanju
New User
Joined: 10 May 2005 Posts: 28 Location: Pune
|
|
|
|
HI,
FOR STATIC CALL U SHOULD SPECIFY NAME AND LOCATION OF OBJECT MODULE OF SUB PGM IN LKED.SYSLIB.
Example :
//STEP01 EXEC IGYWCL
//COBOL.SYSIN DD DSN= (MAIN PGM), DISP=SHR
//LKED.SYSLMOD DD DSN= (LOAD MODULE), DISP=SHR
//LKED.SYSLIB DD DSN=(SUB PGM'S OBJECT MOUDLE),DISP=SHR
FOR DYNAMIC CALL U SOULD SPECIFY ONLY LOCATION OF OBJECT MODULE OF SUB PGM IN STEPLIB.
//STEP01 EXEC IGYWCL
//COBOL.SYSIN DD DSN= (MAIN PGM), DISP=SHR
//LKED.SYSLMOD DD DSN= (LOAD MODULE), DISP=SHR
//STEPLIB DD DSN=(location of SUB PGM'S OBJECT MOUDLE),DISP=SHR |
|
Back to top |
|
|
iknow
Active User
Joined: 22 Aug 2005 Posts: 411 Location: Colarado, US
|
|
|
|
Hi Shammiullah,
The same topic has been discussed already. Please search our forum.
Let me know if you have any issues. |
|
Back to top |
|
|
|