The Data Express routine UDCLOGPG contains an example of managing logging errors. The routine produces an output file managing the masking routine, name that finished in error, the type of error, the related descriptions, and the data store name.
The following example shows a row produced by the routine:
UDCMASPG FUNCTION ERROR THE STRING DOES NOT CONTAIN A VALID VALUE THE INPUT VALUE:FR1212345123451234567890112 TABLE:LOGGING
The JCL’s card showed below is only an example to follow in case you decide to write an output file to log the masking’s errors as is performed into UDCLOGOPG:
//LOGSRC DD DISP=(NEW,CATLG,CATLG), // DSN=LOGGING OTUPUT FILE NAME, // DCB=(RECFM=FB,LRECL=327), // SPACE=(CYL,(10,10))