An appropriate test configuration would include the IMS gateway (one port) and one remote gateway. The SOURCE distribution library includes several sample IMS client and server transactions that can be used to test connectivity with a remote Oracle Tuxedo Mainframe Adapter gateway.Execute test client and server transactions from both sides of the configuration to verify bidirectional connectivity. If errors are encountered, use the diagnostic messages issued by both sides of the configuration (that is, the IMS gateway and the remote Oracle Tuxedo gateway) to identify and correct the problem.For a description of the TMA TCP for IMS error messages, refer to the “Error and Informational Messages” section.The following commands are a few of the available IMS commands that may assist you in monitoring or troubleshooting problems with the OTMA connection. For definitions and command syntax for these IMS commands, refer to the IMS/ESA Operator’s Reference or the Open Transaction Manager Access Guide.
• /SEC OTMA security-level
•
•
• The TMA TCP for IMS product is started by submitting JCL. For sample JCL, refer to the “Sample JCL and User Exits” section.During operation, TMA TCP for IMS writes all messages to the message log dataset (DDNAME=MSGLOG). The message log is primarily useful for historical purposes after TMA TCP for IMS has ended. The message log remains open for output during execution and recent messages cannot be viewed (using ISPF Browse, for example) until the dataset is closed at termination.However, informational and error messages are also written to the z/OS console, where they can be viewed in real time by a system operator. When MSGLEVEL=4 is specified in the configuration file (the normal mode), all messages written to the message log are also displayed on the z/OS console.
• The TMA TCP for IMS product puts up an outstanding write-to-operator with reply (WTOR) on the z/OS console by means of which operator commands can be entered
• Operator commands (entered through a reply to the outstanding command WTOR) are processed.During normal operation, TMA TCP for IMS puts up an outstanding WTOR (message ID BEA2113I) that can be used to enter commands. A command is entered by simply replying to the outstanding WTOR in the format in Listing 5‑1.Listing 5‑1 Syntax for Replying to WTORNormal operation continues until a SHUTDOWN command is received. Under normal circumstances, TMA TCP for IMS is terminated by entering an operator SHUTDOWN command (through the outstanding command WTOR).When a SHUTDOWN command is received and accepted, the following activities occur:The SHUTDOWN command allows an operator to initiate termination of TMA TCP for IMS, and is entered in the format in Listing 5‑2.Listing 5‑2 Syntax for Termination InitiationR nn,SHUTDOWNFormat the command as shown in Listing 5‑3. If the jobname specified is incorrect, TMA TCP for IMS simply ignores the command and processes the request or response in the usual way.
Note: To use this feature, the configuration file must specify the CLIENTSHUTDOWN=YES option on the SYSTEM statement (the default is NO). Otherwise, TMA TCP for IMS ignores a remote client request to initiate shutdown processing.Listing 5‑3 Syntax for Client-Initiated ShutdownTERM=typeis the method for shutting down the system. The values for type are as follows.is a normal shutdown. If TERM=STOP is specified, TMA TCP for IMS initiates normal shutdown processing, as if an operator had entered the SHUTDOWN command from an z/OS console.is an abend with a dump. If TERM=DUMP is specified, TMA TCP for IMS issues a U3166 abend. If a SYSUDUMP DD statement is included in the JCL, a standard z/OS dump is produced.The TMA TCP for IMS product uses a message log dataset to record all messages issued. Normally, the message log (DDNAME=MSGLOG) is allocated to a disk dataset, but it can be allocated to another destination (such as sysout) if desired.The MSGLEVEL parameter of the SYSTEM statement in the configuration file controls the type of messages written to the log. Specifying a MSGLEVEL of 4 causes all informational and error messages to be recorded. Specifying a MSGLEVEL of 2 records only error messages. A MSGLEVEL of 0 (zero) suppresses all logging. Under normal circumstances, a MSGLEVEL of 4 should be specified.You may elect to have messages appended to the existing log (thus preserving messages from previous executions of TMA TCP for IMS) by coding DISP=MOD in the MSGLOG DD statement in the JCL for TMA TCP for IMS. Alternatively, coding DISP=OLD or DISP=SHR causes the log to be overwritten, discarding any messages from a previous execution of TMA TCP for IMS.Listing 5‑4 Message Log Formatmm is the month of the year (1-12) in which the message was logged.dd is the day of the month (1-31) on which the message was logged.yyyy is the year that the message was logged.hh is the hour of the day during which the message was logged.mm is the minute of the hour during which the message was logged.ss is the second of the minute during which the message was logged.Figure 5‑1 msgidis the message ID, in the form BEAnnnnt, where nnnn is a unique message number and t is the message type.For additional information on messages issued by the gateway, refer to the “Error and Informational Messages” section.When a response cannot be correlated with a pending request (that is, a pending request with a matching request/response ID cannot be found), TMA TCP for IMS writes the response to a server response log file (DDNAME=SVRLOG). The information in the server response log file can be useful as part of a manual recovery procedure. Message BEA2033E is also issued, indicating that a server response has been logged and specifying the reason (“Server Request not found” or “No response was expected”).
Note: The dataset attributes of the server response Log File are fixed by architecture. Refer to the Oracle Tuxedo Mainframe Adapter for TCP Installation Guide for additional information.