IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Difference between Evaluate and 88 level conditions


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
shammiullah

New User


Joined: 13 Jun 2005
Posts: 24

PostPosted: Wed Jan 11, 2006 7:10 am
Reply with quote

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
View user's profile Send private message
vinodmaanju

New User


Joined: 10 May 2005
Posts: 28
Location: Pune

PostPosted: Wed Jan 11, 2006 10:27 am
Reply with quote

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
View user's profile Send private message
iknow

Active User


Joined: 22 Aug 2005
Posts: 411
Location: Colarado, US

PostPosted: Wed Jan 11, 2006 10:36 am
Reply with quote

Hi Shammiullah,

The same topic has been discussed already. Please search our forum.

Let me know if you have any issues.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts How to load to DB2 with column level ... DB2 6
No new posts Timestamp difference and its average ... DB2 11
No new posts Db2 SQL - how to switch among differe... DB2 18
No new posts ISRSUPC search utility - using high l... TSO/ISPF 2
No new posts Difference when accessing dataset in ... JCL & VSAM 7
Search our Forums:

Back to Top