TRANSFER Reference Manual
WRITE-PROFILE-REC
TISERV UOW Descriptions
069139, Update 1 to 40969 Tandem Computers Incorporated 2–521
REC-TYPE
is the type assigned to the record by your application. The value in this field must
be greater than 799.
Values 800 through 999 are reserved for use by Tandem.
Values 1000 through 9999 are available for customer use.
REC-SEQ
is the sequence number to be assigned to the record. The number can range from
1 through 9999.
DEPOT-FLAG
determines whether the UOW references a depot profile record or a system control
record.
Y The UOW references a depot profile record, as indicated by CORR-
NAME.
N The UOW references a system control record.
If you make no entry in this field, Y is the default.
A depot profile record contains information specific to a particular depot. When a
new depot is created, all profile records in a model depot are copied into the new
depot.
A system control record contains global parameters for the node. There can be a
unique system control record for any particular REC-TYPE/REC-SEQ-NUM for
each node at which your TRANSFER system is running. This record survives
deletion of depots, and is not copied into new depots when they are created. Use
of information in these records to supply default values for corresponding depot
control parameters is determined entirely by your application.
UPDATE-CONTROL
is the counter used to control concurrent update of the profile record between read
and write operations. This is the update number that the TRANSFER delivery
system writes into the record each time an update takes place. You should obtain
this value through the READ-PROF-REC-A02 UOW, and then pass it back to the
TRANSFER delivery system on the call to the WRITE-PROFILE-REC UOW. If
another process has updated the record since the calling process read it, an error
message E-UPDATE-MISMATCH is returned.
To add a new record, set this field to 0.
To bypass this test and update the record whether or not anyone else has
updated it, set this field to -1.