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

How to refer a SYSIN value of JOB1 STEP1 in JOB2 STEP1.


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
balachandra.padiyar

New User


Joined: 01 Nov 2006
Posts: 3

PostPosted: Wed Apr 30, 2008 2:54 pm
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
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

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

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

Active Member


Joined: 22 Aug 2006
Posts: 771
Location: Germany

PostPosted: Wed Apr 30, 2008 3:11 pm
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 N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

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

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

Active Member


Joined: 22 Aug 2006
Posts: 771
Location: Germany

PostPosted: Wed Apr 30, 2008 5:55 pm
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Generate output lines (SYSIN card for... DFSORT/ICETOOL 4
No new posts COBOL reading from SYSIN COBOL Programming 1
No new posts concatenate sysin to dsn JCL & VSAM 7
No new posts "Standard" SYSIN, SYSPRINT ... PL/I & Assembler 0
This topic is locked: you cannot edit posts or make replies. Need help how to pass the ESP variabl... JCL & VSAM 12
Search our Forums:

Back to Top