PUT writes a record. The record types may be written in any order. Within a record type, writing is performed sequentially. Record length (RECORD-LEN) and type (RECORD-TYPE) are taken from RD. The first 4 characters in the buffer must be reserved for the record header.
Frequent changes of the record type are not recommended because they lead to time and space problems.
Record types 1-159, 163 and 164 can be written (see "Format of the secondary record (record type 163)").
Record types must not be mixed for delta members.
Call parameters
The parameter structures must be given in the following sequence in the subroutine call.
Parameter | Field | Meaning |
CB | SCBVERSION FUNCTION SUBCODE ACC | Function control block Interface version Function code X’12’ Subcode currently not used: UNUSE Subroutine access identification |
RD | REC-ACC-ID RECORD-LEN RECORD-TYPE | Record descriptor Access path identification Record length Record type |
ER | Record contents (including 4-byte record header) |
Return parameters
Parameter | Field | Meaning |
CB | RETURNCODE LMS-MSG DMS-MSG PLAM-MSG | Function control block Return code LMS message code DMS message code PLAM message code |