I am running all of this from Rex building JCL searching files there are a huge 
number of files so I break them up into different jobs 

What I am going to try is do 
Checkrc:
Address TSO “LISTBC” 

If rc == 0 then go
     Address tso “submit *”
  Else 
     Sleep(10)
       Goto checkrc
End

Have to check the Rexx syntax but this will tell me I hope if the first job 
finished 

Thanks 



> On Feb 25, 2021, at 8:51 AM, Paul Gilmartin 
> <[email protected]> wrote:
> 
> On Wed, 24 Feb 2021 21:48:54 -0600, Joel C. Ewing wrote:
>> 
>>   .., most job schedulers have ways to inhibit conflicting jobs from
>> running in parallel, like defining a single resource required ...
>> 
> A scheduler seems overkill.  DISP=MOD should suffice.
> 
> -- gil
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to