View previous topic :: View next topic
|
Author |
Message |
sindu.sagudam
New User
Joined: 02 May 2007 Posts: 8 Location: mumbai
|
|
|
|
Can we pass data to a DB2 program at run time through JCl via PARM
or there is any other way of doing it. |
|
Back to top |
|
|
mkk157
Active User
Joined: 17 May 2006 Posts: 310
|
|
|
|
Hi Sindu,
We can't pass values to DB2 program thru PARM in JCL.
The syntax is as follows:
//...
//SYSTSIN DD *
DSN SYSTEM(ABC)
RUN PROGRAM(COBOL-DB2-ProgramName) PLAN(Plan Name) -
LIB(Load library name) PARM('Input Values') |
|
Back to top |
|
|
sindu.sagudam
New User
Joined: 02 May 2007 Posts: 8 Location: mumbai
|
|
|
|
hi Kranthi,
Thanks it worked |
|
Back to top |
|
|
|