TRANSFER Reference Manual

START-SESSION
TISERV UOW Descriptions
069139, Update 1 to 40969 Tandem Computers Incorporated 2–491
START-SESSION
(UOW Code 101)
START-SESSION starts a session.
DEF start-session-uow.
02 hdr.
03 self-ident PIC AA VALUE "UW".
03 uow-code TYPE BINARY 16 UNSIGNED VALUE 101.
02 applic-id PIC 9(4) COMP.
02 corr-name PIC X(120).
02 password PIC X(16).
02 curr-local-time.
03 year PIC 9(4).
03 month PIC 9(2).
03 day-of-month PIC 9(2).
03 hour PIC 9(2).
03 minute PIC 9(2).
03 second PIC 9(2).
02 redef-local-time REDEFINES curr-local-time.
03 century PIC 9(2).
03 accept-date PIC 9(6).
03 accept-time PIC 9(6).
END.
DEF start-session-rsp.
02 hdr.
03 self-ident PIC AA VALUE "UW".
03 uow-code TYPE BINARY 16 UNSIGNED VALUE 101.
02 retn-code TYPE BINARY 16.
02 retn-code-detail TYPE BINARY 16.
02 filler PIC X.
02 server-version.
03 letter PIC A.
03 rev-number PIC 99.
02 time-zone-diff PIC S9(4) COMP.
02 resolved-name PIC X(120).
END.
HDR
is the UOW header. The UOW-CODE value is 101.
APPLIC-ID
is the numeric application ID, as defined by your application. All packages
created during this session inherit this attribute as part of their item descriptor;
you can then use this field as an agent-selection criterion at depots receiving this
package. The values 100 through 999 are reserved for use by Tandem; see
Appendix A in the TRANSFER Programming Guide for reserved APPLIC-ID values.