When running Endevor batch job with EN$TRESI trace, user gets “invalid Label” error.
18 //BSTERR DD SYSOUT=*
19 //EN$TROPT DD SYSOUT=*
20 //EN$TRESI DD SYSOUT=*
//* C1SB3000 GENERATED BY xxxxxx ON 24/06/10 AT 18:26
STMT NO. MESSAGE
19 IEFC662I INVALID LABEL
20 IEFC662I INVALID LABEL
Product: CA Endevor Software Change Manager (SCM)
Release: 18.0, 18.1, 19.0
It could be that another character is set and the $ should be replaced by the correct one.
Run the job without the traces on (removing those DDs in lines 19 and 20), and then look for the messages from JES2 in the output, like:
$HASP373 userid STARTED
Most probably there will be something other than a dollar in the $HASP prefix. This is the 'dollar' sign that needs to be specified in the JCL.
Example:
If there is: £HASP373 userid STARTED
Then the traces DD should be coded as
//EN£TROPT DD SYSOUT=*
//EN£TRESI DD SYSOUT=*