Robot Console history can be removed by using the command RBCDLTHST, through the Message History menu, or by calling RBC596. Delete history every day, either manually or scheduled through Robot Schedule. We recommend that you keep between 14 and 30 days of history.
These are the files that get cleaned up:
RBCMH(Message History File)
RBCMR(Console Status Record file)
RBCRLH(Resource History Log File)
RBCSL(Second Level Message Text)
Follow one of the following methods to clean up the history:
Use the RBCDLTHST command. This command has multiple parameters including the age to purge and the maximum severity to purge.
Note: The parameters are case-sensitive and need single quotes around them.
Purge records over days old: The value you enter must be three digits in length. If '007' is entered, then all history from today is kept, as well as all history starting from midnight seven days ago. The minimum value is '001' , the max value is '999'.
Remove Reply Messages: All Informational messages (that meet the selection criteria) will be removed from message history. In addition, these informational messages are also removed from the Message Queues and Message Centers. If '*YES' is entered (or 'Y' if you're calling RBC596), all answered Inquiry messages (that meet the selection criteria) are removed from message history. Unanswered Inquiry messages are NOT removed from the Message Queue or Message Center.
Maximum severity to purge: Enter a message severity level (00-99) that would be the maximum severity to be purged. For example, setting this parameter to '40' would clear only messages that have a severity of 40 or less. To clear all messages (that meet the selection criteria), set it to '99'.
System records to purge: This parameter is useful only if using Robot Network. Setting it to *ALL ( or ' ' (blank) if you're calling RBC596) clears messages from all systems. A specific system in the network can be specified instead - this clears only messages coming from that system.
The Message History Menu contains option 3. Delete Message History.
CALL PGM(RBC596) PARM('007' 'Y' '99' 'sysname')
See above for a description of the four parameters that you should enter.
Still have questions? We can help. Submit a case to Technical Support.