Restoring customized messages to product defaults
The following figure shows how to restore all previously specified customizations to product defaults by specifying a value of ALL on the MESSAGE_NUMBER keyword. The PFPEPR00 utility deletes all customization entries that were previously stored in the repository catalog, including severity level changes and suppression thresholds.
//PFP EXEC PGM=PFPEPR00,REGION=0M
//STEPLIB DD DSN=PFP.LOAD,DISP=SHR
// DD DSN=IMSVS.RESLIB,DISP=SHR
//PFPSYSIN DD *
PROCESS_EPR REPOSITORY_DSNAME='PFP.PFPEPR'
RESET MESSAGE_NUMBER=ALL
To restore selected customized messages to product defaults while retaining previously specified customizations for other messages, you can specify a message number on the MESSAGE_NUMBER keyword. You must specify a separate RESET subcommand and associated MESSAGE_NUMBER keyword for each message that you want to restore to product defaults.
The following example restores prior customizations to two different messages. The first RESET subcommand restores the default severity (suffix) level for the message that was originally customized by the example shown in Restoring all message customizations to product defaults. The second RESET subcommand will remove the suppression threshold for the message that was originally customized by the example shown in Restoring all message customizations to product defaults.
//PFP EXEC PGM=PFPEPR00,REGION=0M
//STEPLIB DD DSN=PFP.LOAD,DISP=SHR
// DD DSN=IMSVS.RESLIB,DISP=SHR
//PFPSYSIN DD *
PROCESS_EPR REPOSITORY_DSNAME='PFP.PFPEPR'
RESET MESSAGE_NUMBER=111162
RESET MESSAGE_NUMBER=121150
Comments
Log in or register to comment.