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
 
To submit a job after checking the return code of prev job

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
Author Message
morfius9
Warnings : 1

New User


Joined: 22 Feb 2006
Posts: 20

PostPosted: Wed Apr 23, 2008 2:45 pm    Post subject: To submit a job after checking the return code of prev job
Reply with quote

I have a panel, which will ask a user if he wants to submit a job. If the selection is yes, I'm submitting the job using the submit command. But now I want to have another job to be submitted after this job, once the return code from the first job has been verified to be zero. How do I verify the return code of the first job that has been submitted in the CLIST code?

Morf
Back to top
View user's profile Send private message
References
PostPosted: Wed Apr 23, 2008 2:45 pm    Post subject: Re: To submit a job after checking the return code of prev job Reply with quote

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 2562
Location: italy

PostPosted: Wed Apr 23, 2008 3:17 pm    Post subject: Reply to: To submit a job after checking the return code of
Reply with quote

why submit two jobs...
submit one job with as many steps are needed using the appriopraie condition code checking

to check for inter job return code is something that should be done using a scheduler,
not some RYO process
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1