View previous topic :: View next topic
|
Author |
Message |
vinay249
New User
Joined: 18 Apr 2007 Posts: 13 Location: Bangalore
|
|
|
|
Hi,
I would like to merge the cobol program with the sub program statically. Can any one pls provide the compile JCL such that there should only one load lib.
Thanks, |
|
Back to top |
|
|
sandy_venkat
New User
Joined: 16 May 2007 Posts: 35 Location: India
|
|
|
|
HI,
You can use the CALL statements using literals in your cobol program and in your jcl you can use the NODYNAM compiler option to get a statically bound single load module.
If you code a CALL statement using variables, it automatically assumes a dynamic call. If you give DYNAM option in your JCL and no matter what kind of CALL statement would result in a dynamic call. |
|
Back to top |
|
|
vinay249
New User
Joined: 18 Apr 2007 Posts: 13 Location: Bangalore
|
|
|
|
Hi,
Can you pls provide me the JCLS or any link
Thanks in advance. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Use the same jcl you use to compile other programs.
The difference wil be in the CALL within the code. |
|
Back to top |
|
|
krisprems
Active Member
Joined: 27 Nov 2006 Posts: 649 Location: India
|
|
Back to top |
|
|
|