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

Pass parameters to JCl from Programing language


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
kgumraj

Active User


Joined: 01 May 2006
Posts: 151
Location: Hyderabad

PostPosted: Wed Jul 25, 2007 4:28 pm
Reply with quote

Hi All,

How can one pass parameters to JCl from Programing language ? I want to pass information to step 2, from step 1.
Step1 we excecute a program.

Thanks !!!
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Wed Jul 25, 2007 4:31 pm
Reply with quote

Kiran,

Quote:
How can one pass parameters to JCl from Programing language

Only return code could be returned from program to JCL.

Quote:
I want to pass information to step 2, from step 1.

We can pass info between steps through datasets.
Back to top
View user's profile Send private message
kgumraj

Active User


Joined: 01 May 2006
Posts: 151
Location: Hyderabad

PostPosted: Wed Jul 25, 2007 6:39 pm
Reply with quote

Murali,

You are absolutely correct !!!
We cant pass from Programing language to JCL.

My approch is writing into a file and reading in another program(Step 2), but I want to confirm before proceding.
Thanks Much !!!
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Wed Jul 25, 2007 9:37 pm
Reply with quote

kgumraj wrote:
My approch is writing into a file and reading in another program(Step 2), but I want to confirm before proceding.
Thanks Much !!!
Depending on what you are passing, it works every time.....
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts Dynamically pass table name to a sele... DB2 2
No new posts Passing Parameters to Programs Invoke... PL/I & Assembler 5
No new posts Injecting HTTPHEADER parameters in th... PL/I & Assembler 0
No new posts pass data as symbolic parameter from ... CLIST & REXX 2
Search our Forums:

Back to Top