TRANSFER Reference Manual
ALTER-AGENT-SELECT
TISERV UOW Descriptions
069139, Update 1 to 40969 Tandem Computers Incorporated 2–63
INSERT-AFTER-REC (I)
inserts the selection criteria defined by UOW fields AGENT-NAME through
AGENT-DATA. Place these criteria in the agent list after the record identified
by AGENT-REC-NUM. To insert the record at the beginning of the list, set
AGENT-REC-NUM to 0.
REWRITE-REC (W)
updates the agent specified by AGENT-REC-NUM.
DELETE-REC (D)
deletes the agent specified by AGENT-REC-NUM.
AGENT-REC-NUM
is the position of the record that defines the agent in the agent list for the depot.
To get the position number, you can issue a GET-AGENT-SELECT UOW and
perform a READ-AFTER operation with AGENT-REC-NUM set to 0. In the
response, TISERV sets this field as follows:
For insert (I), the field is set to the number of the record where the selection
criteria were inserted.
For update (W), the field is set to the specified record number.
For delete (D), the field is set to 0 if no agent exists after the one just deleted; or
the field is set to the number of the next remaining agent, which is a value
equal to that provided in the delete request.
AGENT-NAME
is the name of the SCREEN COBOL program or server class that operates as the
agent. You determine whether this name identifies a SCREEN COBOL program
or a server class with the AGENT-TYPE field.
AGENT-TYPE
determines whether the program denoted by AGENT-NAME is a SCREEN
COBOL program or a server class name.
Y AGENT-NAME denotes a SCREEN COBOL program.
N AGENT-NAME denotes a server class name.
AGENT-FLAG
determines whether the agent requires the associated TAREQ to begin a session on
its behalf before the agent can run. If the agent issues UOWs to a TRANSFER
process, a session must be started for the agent before the agent can execute.
Y Initiate a session.
N Do not initiate a session.