Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 4 Examples : Batch Sample of Tracker Smart Client

Batch Sample of Tracker Smart Client
The SXK3BSMC program, which functions as a Tracker Smart Client, can publish events like an Event Client does or communicate with the TIBCO Mainframe Service Tracker server.
You pass in parameters through input control statements in the run JCL. Errors and runtime messages are logged to the data set referred to by DDName TIBLOG.
Data Set: userhlq.JCL
Member: RUNSCL
Prefix all keyword values in the JCL's PARM parameter with a dash or minus sign. Separate keywords from their values with one or more spaces, for example:
Control Keywords
Table 23 describes the functions of the control keywords.
MESSAGE message_code message_text
Sends an alert message. Put a space after the keyword but no space between message_code and message_text.
FULLMSG message_code severity message_ text
Sends a notification message. Put a space after the keyword but no space among message_code, severity, and message_text.
CHECK JOB,jobname
Requests the status of jobname, which was previously registered as a job of interest with the QUERY keyword.
Creates a connection as a Smart Client. Internally, LOGON defines and references a callback ecb and reply area.
QUERY JOB,jobname
Registers jobname as a job of interest, the status of which is then maintained.
WAIT number
Examples of Input Control Statements
Messages are sent by the program with keywords in the input control statements. The following example sends an Unsolicited Alert message to Hawk or Mainframe WebUI through the Tracker Server interface:
MESSAGE SXK2147WText_of_Message
This example sends a Tracker Notification message to Hawk or Mainframe WebUI through the interface:
FULLMSG SXK8943E1Error_Message_Text_1
This example shows an interaction between a Smart Client and the Tracker Server.
LOGON
QUERY JOB,RVD7500
WAIT 10
CHECK JOB,RVD7500
QUIT
TERMINAT
The statements do the following:
1.
2.
Register the Rendezvous daemon RVD7500 as a job of interest, the status of which is then maintained.
3.
4.
Ask for the status of the Rendezvous daemon RVD7500, which was previously registered as a job of interest.
5.
6.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved