|
View previous topic :: View next topic
|
| Author |
Message |
Vandana S
New User
Joined: 17 Dec 2007 Posts: 20 Location: Mumbai
|
|
|
|
| We run COBOL-DB2 programs using the utility IKJEFT01. Please let me know how to pass PARM to this COBOL-DB2 programs. |
|
| Back to top |
|
 |
ofer71
Global Moderator

Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Are you using the DSN command or the CAF flavour?
O. |
|
| Back to top |
|
 |
Vandana S
New User
Joined: 17 Dec 2007 Posts: 20 Location: Mumbai
|
|
|
|
| DSN command. |
|
| Back to top |
|
 |
ofer71
Global Moderator

Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
You might find the fine manual very helpful in describing the DSN RUN command.
O. |
|
| Back to top |
|
 |
Vandana S
New User
Joined: 17 Dec 2007 Posts: 20 Location: Mumbai
|
|
|
|
| Thanks a lot! |
|
| Back to top |
|
 |
anv2005
New User
Joined: 14 Jul 2005 Posts: 44 Location: US
|
|
|
|
| Code: |
PROFILE PREFIX(ANV)
DSN SYSTEM(DB2P) RETRY(0) TEST(0)
RUN PROGRAM(MYPGM) PLAN(MYPLAN) -
PARMS('0001,/NOSTAE,NOSPIE') -
LIB('ANV.PROD.LOAD') -
END |
This is an example of SYSTSIN file, which contains various directives which directs IKJEFT01 which DB2 subsystem to connect to (DB2P), what DB2 plan to use (MYPLAN), what program to run (MYPGM), and what parameters to pass to this program.
This example shows that my program named MYPGM will receive one parameter 0001, and the IBM LE (Language Environment) will receive two parameters NOSTAE and NOSPIE.
However, ofer71 is right. The best place to look for answers is IBM manual. In this case see: Running a batch DB2 application in TSO |
|
| Back to top |
|
 |
|
|