TRANSFER Programming Manual

Agent Tester Sample Session
A Sample TRANSFER Program
11–2 40970 Tandem Computers Incorporated
Step 1: Display the base screen and the Logon screen.
The Logon screen is:
T R A N S F E R A G E N T T E S T D R I V E R
-------------------------------------------------------------------------------
Enter the name of the correspondent you want to test:
roe_jane
___________________________________________________________
Enter the password:
__________________________________
Press F1 to enter data
SF16 to exit
The user enters the name of the correspondent whose INBOX the agent tester is to scan
for messages (for this sample session, no password is used). The user will then select a
message for the agent tester to pass to the agent.
Step 2: Accept the logon and start the session.
When the user presses F1, the program performs the 10-START-SESSION and
100-SS paragraphs to prepare the START-SESSION UOW and send it to TISERV:
BEGIN-TRANSACTION.
...
SEND IH-IPC-HDR, UOW-SS-START-SESSION-UOW
TO "TISERV"
REPLY CODE 0,1,2 YIELDS IH-IPC-HDR
CODE 3 YIELDS IH-IPC-HDR
ON ERROR PERFORM 100-SS-ON-ERROR.