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 [email protected] with the message: INFO IBM-MAIN
