17.00 - Stream Driver Private Logs for TD_Evt_UserCommand - Parallel Transporter

Teradata® Parallel Transporter Application Programming Interface Programmer Guide

prodname
Parallel Transporter
vrm_release
17.00
created_date
June 2020
category
Programming Reference
featnum
B035-2516-220K

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