IMSTRAN
This command submits IMS transactions.
Command | Parameters |
|---|---|
IMSTRAN | Transaction code['p1 ... pn'] |
The following table describes the parameters:
Parameter | Function | Notes |
|---|---|---|
Transaction code and (optional) operands | Transaction code of transaction to invoke and optional parameters | Transaction code name must be defined in AAOTRN00. Any optional parameters must be included in quotes. Maximum length is 255 characters. If a command does not require an operand, code ' ' (a blank) as the operand. Conversational or remote transactions are not supported. In a shared queue environment, the combined length of all operands passed must not exceed 101 characters. |
The response, if any, is queued to the LTERM that is specified in the RLTERM parameter of the BBPARM member AAOTRN00 of the target system. The default value is MASTER. You can set RLTERM=DFSMTCNT if you do not want any output to be sent back to the inputting LTERM.
Within IMS, the transaction is viewed as a normal transaction after it arrives in the message queue, with the input LTERM set to the RLTERM value. Only one destination LTERM is provided for each BBI-SS PAS and IMS.
If BBPARM member AAOTRN00 specifies USERID=AAOPAS, the IMS transaction is submitted with the SAF user ID associated with the BMC AMI Ops Automation PAS. If the PAS is not defined with a SAF user ID, the transaction is submitted to IMS with a user ID matching the PAS SSID.
Condition codes are listed in the following table:
Value | Description |
|---|---|
0 | Command issued successfully. |
12 | An error occurred. The error message is logged to the BBI journal. |
Example
This example invokes the IMS transaction ADDPART.
"IMFEXEC IMSTRAN ADDPART 'AB960C10,RIVET,74'"
CLIST example:
Related topic