z/OS ISPF Software Configuration and Library Manager Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Appending to the error listing file

z/OS ISPF Software Configuration and Library Manager Guide and Reference
SC19-3625-00

If parser errors are found, error messages are written to the userid.SCLMERR.LISTING data set. This data set is created (re-written) each time an error is found, each time one of the REXX parsers is invoked. The allocate_error_listing routine is used to allocate this data set. The overwriting of this data set is suitable for creating or modifying members with Edit. However, during multiple migrations of members, this data set will be overwritten each time a parser error occurs per parser invocation.

To keep all parser errors for all members, modify the allocate_error_listing routine to append to the userid.SCLMERR.LISTING data set, instead of overwriting it. Change
IF SYSDSN(ERRFILE) = 'OK' THEN
   disp = 'OLD'
ELSE
to
IF SYSDSN(ERRFILE) = 'OK' THEN
   disp = 'MOD'
ELSE
With this change, all invocations of the parser will append any error messages to the error file without overwriting the previous contents.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014