MVS has that; it's called step restart.

--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Assembler List [[email protected]] on behalf 
of Bernd Oppolzer [[email protected]]
Sent: Tuesday, February 1, 2022 7:25 PM
To: [email protected]
Subject: Re: External Assembler REXX Function

Am 01.02.2022 um 23:36 schrieb Paul Gilmartin:
> On Feb 1, 2022, at 14:47:15, Tony Thigpen wrote:
>>      ...
>> VSE has had JCL "GOTO" since "whenever", but JES2 did not have it for a long 
>> time.
>>
> Perhaps not even yet.  I can't find GOTO in the JCL Ref.  What JES2 manual 
> should
> I search.  Can you code loops with it?

No.

VSE's GOTO can only be used to GO forward.

If the target of GOTO is not unique in the job stream
(which in our case - CA VOLLIE - can easily occur, because
jobs can contain sub-jobs via -INC and the sub-jobs can
have GOTOs, too, maybe with the same labels)
then GOTO goes to the next matching label :-)

GOTO, BTW, is very helpful, if you have a large job which ABENDs somewhere
in the middle, and you have to restart it later at a certain step :-)

HTH, kind regards

Bernd

Reply via email to