Capture return code... Using REXX



IBM's Command List programming language & Restructured Extended Executor

Capture return code... Using REXX

Postby Balamurugan3 » Mon May 24, 2010 10:35 am

Hi...
I have an requirement in rexx..... where a jcl is submitted using rexx.. after which the submitted jcl has to be taken XDC in a dataset (This XDC JOB also handled by rexx )... So After first job completes (Whatever may be the return code) second job should initiate... Can any one tel me how to handle this using REXX....
Many Thanks,
Bala
Balamurugan3
 
Posts: 17
Joined: Tue Sep 29, 2009 11:23 am
Has thanked: 0 time
Been thanked: 0 time

Re: Capture return code... Using REXX

Postby dick scherrer » Mon May 24, 2010 12:10 pm

Hello,

Do not try this. . . Use the scheduling software already on the system . . .

There is no good reason to have a process "hanging around" until some other process completes. That is why scheduling software was written.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: Capture return code... Using REXX

Postby opcfkam » Thu Jul 15, 2010 9:30 pm

for your interesting, you must call system facilites to find out your jobs information
opcfkam
 
Posts: 2
Joined: Thu Jul 15, 2010 9:01 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Capture return code... Using REXX

Postby expat » Fri Jul 16, 2010 11:59 am

@opcfkam

You really do need to read the replies of the more experienced people who post here. Look at the reply from Dick. Read it, try to understand it.
expat
 
Posts: 459
Joined: Sat Jun 09, 2007 3:21 pm
Has thanked: 0 time
Been thanked: 8 times


Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post