Is IDCAMS command will be executed unconditionally?
Posted: Wed Jul 30, 2014 9:05 am
Hi guy,
I want to know wheter an IDCAMS command willl always be executed even if its previous command get an error ?
//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=A
//SYSIN DD *
IDCAMS_CMD1 ...
IDCAMS_CMD2 ...
/*
For example, IDCAMS_CMD2 ... will always be executed, whatever the result of its previous command IDCAMS_CMD1, success or failure ?
I want to know wheter an IDCAMS command willl always be executed even if its previous command get an error ?
//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=A
//SYSIN DD *
IDCAMS_CMD1 ...
IDCAMS_CMD2 ...
/*
For example, IDCAMS_CMD2 ... will always be executed, whatever the result of its previous command IDCAMS_CMD1, success or failure ?