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

dynamic call or static call?


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

New User


Joined: 04 May 2005
Posts: 25

PostPosted: Tue May 24, 2005 6:43 pm
Reply with quote

Anyone can tell the compile code where we mentioned the (nodynam or dynam) pls tell the answers with some coding program example. thanks in advance.

sararaju
Back to top
View user's profile Send private message
priya

Moderator


Joined: 24 Jul 2003
Posts: 568
Location: Bangalore

PostPosted: Tue May 24, 2005 9:08 pm
Reply with quote

You have to pass this as a parameter to compiler.

Example:

Code:
EXEC PGM=IGYCRCTL,PARM=NODYNAM


Check this link:
ibmmainframes.com/jcls.php
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Mon May 30, 2005 2:01 am
Reply with quote

In some cases the pgm code can override the compiler option selected:
Code:
 If compiled as NODYNAM:
CALL 'literal' is a static call
CALL WS-label is a dynamic call

If compiled as DYNAM:
CALL 'literal' is a dynamic call
CALL WS-label is a dynamic call
Back to top
View user's profile Send private message
sree_2503

New User


Joined: 22 May 2005
Posts: 12
Location: Chennai,India

PostPosted: Mon May 30, 2005 9:29 am
Reply with quote

Hi Sararaju,

In the Cobol Compile step of the job, pass the param as below...

//COB EXEC VCOBC, COBOL COMPILE
// COND=(8,LE),
// PGMNAME='XT00VSC2', TRACEMSTR CB2
// CPARM='NODYN,LIST,RENT',
// CDSEP=',',
// DPARM='NODYN,RENT',

Hope this helps...
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 Using Dynamic file handler in the Fil... COBOL Programming 2
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts JCL Dynamic System Symbols JCL & VSAM 3
No new posts Call program, directly from panel CLIST & REXX 9
No new posts Synctool-dynamic split job for varyin... JCL & VSAM 7
Search our Forums:

Back to Top