Use the RECORD statement as the second argument to PLISRTx.
The syntax of the RECORD statement must be a character string expression
which, when evaluated, accepts the following syntax:

>>-'bRECORDbTYPE=rectype--+-------------+--b'------------------><
'-,LENGTH=(n)-'
- b
- One or more blanks. Blanks shown are mandatory. No other blanks
are allowed.
- TYPE
- Specifies the type of record as follows:
- F
- Fixed length
- V
- Varying length
Even when you use input and output routines to handle the sorted
and unsorted data, you must specify the record type as it applies
to the work data sets used by sort.
If varying-length strings are passed to sort from an input routine
(E15 exit), you should normally specify V as a record format. However,
if you specify F, the records are padded to the maximum length with
blanks.
- LENGTH
- Specifies the length of the record to be sorted. You can omit
LENGTH if you use PLISRTA or PLISRTC, because the length is taken
from the input data set. The maximum length of a record that can
be sorted is 32,767 bytes. For varying-length records, you must
include the 2-byte prefix.
- n
- The length of the record to be sorted.
Note:
Additional length specifications that can be used
are ignored by workstation PL/I.
|
This information center is powered by Eclipse technology. (http://www.eclipse.org)