-IEFACTRT DISNEW TESTSMS 00 15 .00 .00 .00
-IEFACTRT DISNEW GENSYSD 00 49 .00 .00 .00
-IEFACTRT ADDVOL1 STEP1 00 311 .00 .00 .02
-IEFACTRT ADDVOL2 STEP1 08 11623 .00 .00 .07
IEF451I UORSAVD6 STEP1 ADDVOL2 - ENDED BY CC 0008 - TIME=10.4
-UORSAVD6 ENDED. NAME-ADDVOL TOTAL CPU TIME=
-NOT_EXECUTED_STEP_TABLE BEGIN
-JOBNAME STEPNAME PROCSTEP STEPNO
-UORSAVD6 MAILAUTO 8
-NOT_EXECUTED_STEP_TABLE END
This the JCL :
//*>OPC COMP=(03.EQ.03)
//DISNEW EXEC ORSAVD6,COND=(0,NE,TESTENV)
//*>OPC END ACTION=INCLUDE
//*
//**************************************************************
//* MAIL AUTOMATIQUE RC >= 8
//**************************************************************
//IFBAD IF (RC GE 7) THEN
//MAILAUTO EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DISP=SHR,DSN=MAIL.FIXE
//SYSUT2 DD SYSOUT=(H,SMTP)
//SYSIN DD DUMMY
// ENDIF
the step ADDVOL2 was ended withe a RC = 8.
So, the step MAILAUTO should have run...