in my jcl, i would like the steps flush if any RC is>=4 (superior or equal)
And i have a last step (a warning mail) i d like to execute if any RC is >=4 (superior or equal) or if there an ABEND or Abend User
So in the job card, i have
//JOB3 JOB S,'ADDVOL',MSGCLASS=P,CLASS=Y,
// COND=(4,LE)
and the last step
//***************************************************
//MAIL EXEC PGM=IEFBR14,COND=((4,GE),ONLY)
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DISP=SHR,DSN=DATA.SET
//SYSUT2 DD SYSOUT=(H,SMTP)
//SYSIN DD DUMMY
//*
This last step is not executing with a previous step rc=4
//DEL EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DELETE DATA.SET.DELETE
SET MAXCC = 4
/*