Is it possible to skip a command in CL if the date is Saturday?
PGM
/* For example I would like to skip Step1 if today is Saturday*/
STEP1: QSH CMD(&CMD)
MONMSG MSGID(QSH0005 QSH0006 QSH0007) EXEC(DO)
SNDSMTPEMM RCP((blah@blah.com *PRI)) SUBJECT(' FTP download +
') NOTE('<p>Dear Support, <br /> <br />The files from FTP has +
been downloaded.<br/><br/><br/>Please do not reply.<br/> This is an +
automated messageing system </p>') CONTENT(*HTML)
ENDDO
ENDPGM
I appreciate any help,
thanks in advance
PGM
/* For example I would like to skip Step1 if today is Saturday*/
STEP1: QSH CMD(&CMD)
MONMSG MSGID(QSH0005 QSH0006 QSH0007) EXEC(DO)
SNDSMTPEMM RCP((blah@blah.com *PRI)) SUBJECT(' FTP download +
') NOTE('<p>Dear Support, <br /> <br />The files from FTP has +
been downloaded.<br/><br/><br/>Please do not reply.<br/> This is an +
automated messageing system </p>') CONTENT(*HTML)
ENDDO
ENDPGM
I appreciate any help,
thanks in advance
Comment