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

How to pass parameters from program to JCL


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
angelalpe
Warnings : 1

New User


Joined: 22 Sep 2005
Posts: 32

PostPosted: Fri Jun 02, 2006 4:26 pm
Reply with quote

Hi,

How to pass parameters from program (cobol, PL/1, etc) to JCL ?


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

Active User


Joined: 01 Aug 2005
Posts: 105
Location: Somerset, NJ

PostPosted: Fri Jun 02, 2006 4:45 pm
Reply with quote

Hi Angelalpe,

The most common way is to write the information (parameters) in to one (or more) file, that, inturn can be referenced by the other steps in the JCL.

Or you can even use the special registers like RETURN-CODE etc. but they'll serve only the pre-defined purpose.

Hope this makes sense!
Cheers, Twissi.
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
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 Problem moving a cobol program into E... COBOL Programming 3
No new posts Is this possible via sort (in one pass)? SYNCSORT 4
No new posts Starting a PROC with parameters from ... CLIST & REXX 6
Search our Forums:


Back to Top