Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ 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 & VSAM
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    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

Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 788
Location: Chennai, 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

Active Member


Joined: 22 Aug 2006
Posts: 755
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 N

Active Member


Joined: 06 Sep 2007
Posts: 788
Location: Chennai, 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

Active Member


Joined: 22 Aug 2006
Posts: 755
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Need to know what sysin for DFHTU690 ... pkmurali CICS 3 Mon Jul 25, 2016 1:36 pm
No new posts Symbolic Parameters in SYSIN DD state... madishpa DFSORT/ICETOOL 3 Mon Jun 27, 2016 6:23 pm
No new posts SYSIN PDS Library Concatenation Brad McCoy JCL & VSAM 6 Mon Jul 07, 2014 11:49 pm
No new posts STEP1 EXECUTE OR NOT QUERY Kmr.deepakcs JCL & VSAM 6 Fri Nov 15, 2013 10:30 am
No new posts Can't specify a dataset to SORT SYSIN? dejunzhu DFSORT/ICETOOL 5 Tue Nov 05, 2013 1:01 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us