Commands from an LU 6.2 device
To enter a command from an LU 6.2 device, allocate a conversation using an IMS™ command verb as the TPNAME.
The /
must be included in
the command word. The password option is not valid. (The password
must be supplied as a part of the LU 6.2 ALLOCATE from the partner.)
The normal LU 6.2 security provisions apply for this transaction.
Restriction: The APPC synchronization level of CONFIRM is ignored
for commands from LU 6.2 devices.
The following three examples show the sequence of steps used to issue commands by allocating a synchronous conversation on an LU 6.2 device:
Example 1 for commands from an LU 6.2 device
ALLOCATE
-LUNAME=luname of IMS
-TPNAME=/DISPLAY (Single segment command)
SEND
-DATA=LTERM VA01 VA02.comments (Data after period treated as comments)
PREPARE_TO_RECEIVE
RECEIVE (Get header)
RECEIVE (Get output for LTERM VA01)
RECEIVE (Get output for LTERM VA02)
RECEIVE (Get time stamp)
RC=DEALLOCATE
Example 2 for commands from an LU 6.2 device
ALLOCATE
-LUNAME=luname of IMS
-TPNAME=/CHANGE (Multisegment command)
SEND
-DATA=NODE (Can spread over several SENDs)
SEND
-DATA=VAT02 ASR OFF.comments (Data after period treated as comments)
PREPARE_TO_RECEIVE
RECEIVE (Get DFS058 CHANGE COMMAND COMPLETED)
RC=DEALLOCATE
Example 3 for commands from an LU 6.2 device
ALLOCATE
-LUNAME=luname of IMS
-TPNAME=/BROADCAST
SEND
-DATA=NODE VAT0* (1st SEND: the destination)
SEND
-DATA=HELLO, HOW ARE YOU ALL? (Subsequent SENDs: message to broadcast)
PREPARE_TO_RECEIVE
RECEIVE (Get DFS058 BROADCAST COMMAND COMPLETED)
RC=DEALLOCATE