This function enables the CA-GSS/ISERVE Logon Facility to communicate with devices defined as logical unit 2.
Form 1:
xx yy = LU2(BRACKET,rpl,[xx],[yy])
Form 2:
result = LU2(SEND,rpl,outrec)
Form 3:
input = LU2(RECEIVE,rpl)
Form 4:
input = LU2(SENDREC,rpl,outrec,[option])
Form 5:
result = LU2(CLSDST,rpl)
Parameters
BB (begin bracket) or NBB (no begin bracket).
EB (end bracket) or NEB (no end bracket).
Modifies the SNA brackets to be used with the next SEND or RECEIVE operation. If new values are omitted, the current state is returned.
RPL address, as passed to the IMOD by the Logon Facility.
Error text (if the SEND or CLSDST operation fails).
Transmits a record.
Complete 3270 data stream.
Results of a 3270 READ MODIFIED operation, a complete 3270 data stream.
Issues a VTAM RECEIVE against the specific terminal session. The IMOD task is suspended until the terminal operator presses ENTER and a READ MODIFIED is completed.
Transmits a 3270 data stream to the terminal, waits for operator action, and receives the results.
One of these options:
Bracket
Determines and sets the appropriate bracket state for the next transmission.
NOBracket
Indicates that the bracket indicators in the RPL are not changed.
Default: Bracket
Issues a VTAM CLOSEDEST against the RPL. Terminates the session and returns control of the terminal to VTAM. If omitted, a CLSDST is automatically generated at the end of the IMOD task.
ARG n MISSING OR INVALID
NOT RPL
NO RPL
NOT ACB
NO ACB
ACB IS OPEN
ACB NOT OPEN
PHASE: type rpl13 rpl14 rpl15
PHASE: type R15: xx REASON: xx
Example
parse arg rpl . /* Obtain RPL from caller */ queue 'at 1 1 attr /prot/ data /Enter transaction =>/' queue 'attr /input high / cursor at 1 79 attr /prot/' screen = $3270(,,'erase','reset') /* Construct screen */ if rc ^= 0 then signal error_$3270 input = lu2('sendrec',rpl,screen) /* Send screen, read screen */ input = ds3270('from','field',,,1,22) /* Extract input field */ if rc ^= 0 then signal err_ds3270 ... result = lu2('clsdst',rpl) /* Terminate session */ return
Copyright © 2014 CA Technologies.
All rights reserved.
|
|