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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts To get the the current time DFSORT/ICETOOL 13
No new posts RC query -Time column CA Products 3
No new posts JCL EXEC PARM data in C Java & MQSeries 2
No new posts C Compile time time stamps Java & MQSeries 10
Search our Forums:

Back to Top