z/OS DFSORT Application Programming Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Operand descriptions

z/OS DFSORT Application Programming Guide
SC23-6878-00

The operands described in this section can be specified in any order.

FROM(indd)
See the discussion of this operand on the COPY statement in "COPY Operator" on page FROM(indd).
TO(outdd)
Specifies the ddname of the output data set to be written by DFSORT for this operation.

An outdd DD statement must be present and must define an output data set that conforms to the rules for DFSORT's SORTOUT data set.

The ddname specified in the TO operand must not be the same as the ddname specified in the FROM operand.

Refer to JCL restrictions for more information.

USING(xxxx)
Specifies the first 4 characters of the ddname for the control statement data set to be used by DFSORT for this operation. xxxx must be four characters that are valid in a ddname of the form xxxxCNTL. xxxx must not be SYSx

An xxxxCNTL DD statement must be present. The xxxxCNTL data set must contain a SORT statement. Other control statements are optional, but if specified must conform to the rules for DFSORT's SORTCNTL data set, and should be used as described for DATASORT operator.

HEADER or FIRST
Specifies one header record (the first record in the indd data set) is to be kept in place.

HEADER and FIRST are equivalent to HEADER(1) and FIRST(1).

HEADER(u) or FIRST(u)
Specifies u header records (the first u records in the indd data set) are to be kept in place.

u must be specified as n or +n where n can be 1 to 1000000.

TRAILER or LAST
Specifies one trailer record (the last record in the indd data set) is to be kept in place.

TRAILER and LAST are equivalent to TRAILER(1) and LAST(1).

TRAILER(v) or LAST(v)
Specifies v trailer records (the last v records in the indd data set) are to be kept in place.

v must be specified as n or +n where n can be 1 to 1000000.

VSAMTYPE(x)
See the discussion of this operand on the COPY statement in "COPY Operator" on page VSAMTYPE(x).

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014