U0002 ABEND in ESDyymmL

Document ID : KB000050244
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

For some sites running SAS 9.1 the ESDyymmL job will abend with a U0002 error. This abend occurs when job ESDyymmL is run first with the MODE parameter set equal to 'RPT' and then run with the MODE parameter set to 'DASD.

Solution:

The U0002 abend occurs when the site has specified OPTIONS ERRORBYABEND and is the result of SAS problem note 19079 - 'In SAS 9.1, if you set the option ERRORBYABEND, the return code surfaces as a user abend rather than the desired user-specified return code.'

The CA MICS solution to the U0002 abend in ESDyymmL, in this scenario only, is to delete the dataset sharedprefix.HOLD.PC.TEXT.