View previous topic :: View next topic
|
Author |
Message |
paban_patt
New User
Joined: 19 Jul 2007 Posts: 5 Location: bangalore
|
|
|
|
Hi,
I am having a Cobol Main program which is calling a Cobol-Db2 subprogram. Can you say me how to write the jcl for it.
Thanks n regards |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
You code the JCL like you call a DB2 program: EXEC PGM=IKJEFT01, and DSN RUN PROGRAM in SYSTSIN.
O. |
|
Back to top |
|
|
paban_patt
New User
Joined: 19 Jul 2007 Posts: 5 Location: bangalore
|
|
|
|
Hi,
So in the program name in sysin i have to give which program name, i mean main program name or subprogram name? |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
main program name |
|
Back to top |
|
|
paban_patt
New User
Joined: 19 Jul 2007 Posts: 5 Location: bangalore
|
|
|
|
so wat about the subprogram, where to mention that? |
|
Back to top |
|
|
ashok_srivatsav Currently Banned New User
Joined: 29 Jun 2007 Posts: 15 Location: India, Bangalore
|
|
|
|
The sub program will be called from the main program thru the call statement. |
|
Back to top |
|
|
paban_patt
New User
Joined: 19 Jul 2007 Posts: 5 Location: bangalore
|
|
|
|
thanx a lot ALL |
|
Back to top |
|
|
|