Specify the name of the Sub-program in JCL



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Specify the name of the Sub-program in JCL

Postby chasermf » Tue Jun 10, 2008 6:34 pm

Hi,
How can I specify the name of the Sub-program in JCL so that I can call the sub-routine when the calling program is running.

Regards,
chasermf
chasermf
 
Posts: 6
Joined: Wed May 07, 2008 7:35 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Specify the name of the Sub-program in JCL

 

Re: sub pgm in jcl

Postby Bill Dennis » Tue Jun 10, 2008 8:17 pm

They are not directly named in the JCL. Sub programs only need to be accessable in the STEPLIB/JOBLIB or system LINKLIST/LPALIST concatenations for dynamic calls. For static linkage, use an INCLUDE statement in the LKED of the main module.
Regards,

Bill Dennis

Disclaimer: My comments on this forum are my own and do not represent the opinions or suggestions of any other person or business entity.
Bill Dennis
 
Posts: 278
Joined: Thu May 15, 2008 9:45 pm
Has thanked: 0 time
Been thanked: 0 time


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post