Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
How to refer a SYSIN value of JOB1 STEP1 in JOB2 STEP1.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL
Author Message
balachandra.padiyar

New User


Joined: 01 Nov 2006
Posts: 3

PostPosted: Wed Apr 30, 2008 2:54 pm    Post subject: How to refer a SYSIN value of JOB1 STEP1 in JOB2 STEP1.
Reply with quote

I want to refer the value G of that is in the SYSIN card of the first job in the IF condition of STEP1 in Second job. JOB2 is executed after JOB1.

//JOB1
//STEP1
//SYSIN DD *
ABCDEFG
/*


//JOB2
//STEP1 IF (G) THEN
//
Back to top
View user's profile Send private message
References
Gnanas SNG

Senior Member


Joined: 06 Sep 2007
Posts: 429
Location: India

PostPosted: Wed Apr 30, 2008 3:02 pm    Post subject:
Reply with quote

No direct way...
Back to top
View user's profile Send private message
UmeySan

Senior Member


Joined: 22 Aug 2006
Posts: 624
Location: Germany

PostPosted: Wed Apr 30, 2008 3:11 pm    Post subject:
Reply with quote

Hi !

let the programm in Step01 validate the Sysin and return with a special ReturnCode. Then test the ReturnCode of step01 for ne next action.

Regards, UmeySan
Back to top
View user's profile Send private message
Gnanas SNG

Senior Member


Joined: 06 Sep 2007
Posts: 429
Location: India

PostPosted: Wed Apr 30, 2008 3:15 pm    Post subject:
Reply with quote

Are both STEPs in same or different JOB(s)?
Back to top
View user's profile Send private message
UmeySan

Senior Member


Joined: 22 Aug 2006
Posts: 624
Location: Germany

PostPosted: Wed Apr 30, 2008 5:55 pm    Post subject:
Reply with quote

If it's two separated jobs and there is no sheduling system like opc controling the application-flow, just put the same sysin in the second job and validate it.

Regards, UmeySan
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL All times are GMT + 6 Hours
Page 1 of 1