IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

passing value to a DB2 program at run time via PARM in JCL


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sindu.sagudam

New User


Joined: 02 May 2007
Posts: 8
Location: mumbai

PostPosted: Thu May 03, 2007 5:18 pm
Reply with quote

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
View user's profile Send private message
mkk157

Active User


Joined: 17 May 2006
Posts: 310

PostPosted: Thu May 03, 2007 5:33 pm
Reply with quote

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
View user's profile Send private message
sindu.sagudam

New User


Joined: 02 May 2007
Posts: 8
Location: mumbai

PostPosted: Thu May 03, 2007 6:16 pm
Reply with quote

hi Kranthi,

Thanks it worked
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts PL/1 SEND CICS MAP first time, attrib... CICS 6
No new posts After newcopy the CICS program user f... CICS 7
No new posts Starting a CICS Transaction from a Th... CICS 0
No new posts convert arbitrary UTC to local (SYD) ... COBOL Programming 1
No new posts Problem moving a cobol program into E... COBOL Programming 3
Search our Forums:


Back to Top