Masking Routine UDCLOGPG – Prototype

The Data Manager 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

Note: In order to correctly manage the prototype routine provided (UDCLOGPG), it is advisable to add into JCLs BDCCHGR and BTESBMR the previous JCL card in order to work correctly with the Logging file produced by that routine, according to the way you choose to develop your Logging routine.

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))