Parameters

data-id
The data ID associated with the data set into which the record is to be written. The data ID has been generated by the LMINIT service. The maximum length of this parameter is 8 characters.
INVAR|MOVE|MULTX
In INVAR mode and MULTX mode, the data-location parameter variable contains the data itself. In MOVE mode, the data-location parameter contains the address of the data to be written. A command dialog can use INVAR and MULTX modes, but not MOVE mode.
dataloc-var
The name of a variable that, on entry to the LMPUT service, contains either the data to be written (INVAR or MULTX mode) or the fullword binary virtual storage address of the data to be written (MOVE mode).

The value of the variable passed from a program function can be either the data record itself or the address of the data record, but it must be consistent with the INVAR|MOVE|MULTX specification. If the variable was passed from a command function written in CLIST or REXX, it must always contain the data record. The maximum length of this parameter is 8 characters.

data-length
The length in bytes of the logical record to be written. The parameter must be a positive nonzero integral value. If the data-length specification causes a DBCS character string to be divided in the middle, the result may be unpredictable.

In MULTX mode, the minimum of the data-length parameter and the length of data written to the variable pool determines how much of the data-loc variable is processed into records. The length field before each record determines the amount of data written, not exceeding the data set record length, to each record.

NOBSCAN
The No Backscan option; no truncation of trailing blanks for records of variable length occurs.
buf-len
A fullword fixed binary integer containing the length of the buffer parameter.
buffer
A buffer containing the name of the service and its parameters in the same form as they would appear in an ISPEXEC invocation for a command invocation.