Example 1
When the user provides a valid user command to change the rate and periodicity, the Stream driver displays the following message in the private log for the Stream driver:
"New Rate: %d statements per Minute" "New Periodicity: %d per Minute"
as shown here:
PARSINGUSERCOMMAND: pCmd: 'RATE = 200,PERIODICITY = 9' STREAM_OPERATOR: New Rate: 200 statements per Minute **** 13:33:40 New Rate: 200 statements per Minute STREAM_OPERATOR: New Periodicity: 9 per Minute **** 13:33:40 New Periodicity: 9 per Minute
Example 2
When the user provides an error in the user command, the Stream driver ignores the command, displays an error message in the private log for the Stream driver, and continues the job with the previous Rate and Periodicity values, as shown in the following sample private logs:
PARSINGUSERCOMMAND: pCmd: 'RATE = -10,PERIODICITY = 15' STREAM_OPERATOR: Invalid Rate attribute value (-10). Command is ignored. STREAM_OPERATOR: Continuing with Rate: 200 statements per Minute STREAM_OPERATOR: Continuing with Periodicity: 9 per Minute =================================== PARSINGUSERCOMMAND: pCmd: 'RATE = 15,PERIODICITY = 605' STREAM_OPERATOR: Invalid Periodicity attribute value (605). Command is ignored. STREAM_OPERATOR: Continuing with Rate: 200 statements per Minute STREAM_OPERATOR: Continuing with Periodicity: 9 per Minute