17.10 - Stream Driver Private Logs for TD_Evt_UserCommand - Parallel Transporter

Teradata® Parallel Transporter Application Programming Interface Programmer Guide

Product
Parallel Transporter
Release Number
17.10
Release Date
June 2021
Content Type
Programming Reference
Publication ID
B035-2516-061K
Language
English (United States)

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