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 DISPLAY statement in DISPLAY operator.
ON(p,m,f)
Specifies the position, length, and format of a numeric field to be used for this operation.
p specifies the first byte of the field relative to the beginning of the input record. p is 1 for the first data byte of a fixed-length record and 5 for the first data byte of a variable-length record as illustrated in the following (RRRR represents the 4-byte record descriptor word):
    Fixed-length record    |    Variable-length record
    | D | A | T | A | ...  |    | R | R | R | R | D | A | T | A | ...
 p=   1   2   3   4        | p=   1   2   3   4   5   6   7   8    

m specifies the length of the field in bytes. A field must not extend beyond position 32752 or beyond the end of a record. The maximum length for a field depends on its format.

f specifies the format of the field as follows:
Field formats of the ICETOOL STATS operator
Format Code
Length Description
BI 1 to 8 bytes Unsigned binary
FI 1 to 8 bytes Signed fixed-point
PD 1 to 16 bytes Signed packed decimal
ZD 1 to 31 bytes Signed zoned decimal
CSF or FS 1 to 32 bytes (31 digit limit) Signed numeric with optional leading floating sign
UFF 1 to 44 bytes (31 digit limit) Unsigned free form numeric
SFF 1 to 44 bytes (31 digit limit) Signed free form numeric
Note: See Data format descriptions for detailed format descriptions.

If the total for a field overflows 31 digits, ICETOOL continues processing, but prints asterisks for the average and total for that field.

For a CSF, FS, UFF, or SFF format field:
  • A maximum of 31 digits is allowed. If a value with more than 31 digits is found, ICETOOL issues an error message and terminates the operation.
For a ZD or PD format field:
  • If a decimal value contains an invalid digit (A-F), ICETOOL identifies the bad value in a message and prints asterisks for the minimum, maximum, average and total for that field.
  • A value is treated as positive if its sign is F, E, C, A, 8, 6, 4, 2, or 0.
  • A value is treated as negative if its sign is D, B, 9, 7, 5, 3, or 1.

For a ZD, PD, CSF, FS, or SFF format field, a negative zero value is treated as a positive zero value.

ON(VLEN)
See the discussion of this operand on the DISPLAY statement in DISPLAY operator.
VSAMTYPE(x)
See the discussion of this operand on the COPY statement in COPY operator.
LMSG
Specifies that the minimum, maximum, average and total for all numeric fields are to be printed using messages that display 31 digits (overriding the default of printing messages that display 15 digits when possible). LMSG ensures that only message ICE648I is used to display the statistics. Without LMSG, a combination of messages ICE608I, ICE609I and ICE648I can be used to display the statistics.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014