Stream Driver Private Logs for TD_Evt_UserCommand - Parallel Transporter

Teradata Parallel Transporter Application Programming Interface

Product
Parallel Transporter
Release Number
15.10
Language
English (United States)
Last Update
2018-10-07
dita:id
B035-2516
lifecycle
previous
Product Category
Teradata Tools and Utilities

Stream Driver Private Logs for TD_Evt_UserCommand

Example  

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 below:

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  

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