Also if you were to create a CLIST for this as suggested previously,
rather than adding lots of IFs or WHENs, you should just be able to
specify CONTROL FLUSH once at the beginning of the CLIST.

Mick.


On 21 July 2016 at 14:24, Norbert Friemel <nf.ibmm...@web.de> wrote:
> On Thu, 21 Jul 2016 14:36:30 +0200, R.S. wrote:
>
>> I'm going to submit huge command list in a batch (IKJEFT01). The
>> commands are unrelated (no loops, etc.) however I want to stop the
>> script after command failure, that means RC<>0.
>>
>> Example:
>> //STEP1       EXEC PGM=IKJEFT01
>> //SYSTSPRT DD  SYSOUT=*
>> //SYSTSIN  DD  *,DLM=@@
>> /* command list */
>> RDEF class PROFILE1.** ...
>> RDEF class PROFILE2.** ...
>
> Replace IKJEFT01 with IKJEFT1A (or IKJEFT1B)?
> https://www.ibm.com/support/knowledgecenter/SSLTBW_2.2.0/com.ibm.zos.v2r2.ikjc200/jcl_exec.htm
>
> Norbert Friemel
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to