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 or character
field to be used with 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 shown
in the following table:
Field
formats of the ICETOOL UNIQUE operator
Format Code |
Length |
Description |
---|
BI |
1 to 256 bytes |
Unsigned binary |
FI |
1 to 256 bytes |
Signed fixed-point |
PD |
1 to 32 bytes |
Signed packed decimal |
ZD |
1 to 32 bytes |
Signed zoned decimal |
CH |
1 to 4000 bytes |
Character |
CSF or FS |
1 to 32 bytes |
Signed numeric with optional leading
floating sign |
UFF |
1 to 44 bytes |
Unsigned free form numeric |
SFF |
1 to 44 bytes |
Signed free form numeric |
|
For a ZD or PD format field:
- F, E, C, A, 8, 6, 4, 2, and 0 are treated as equivalent positive
signs. Thus the zoned decimal values F2F3C1, F2F3F1, and 020301 are
counted as only one unique value.
- D, B, 9, 7, 5, 3, and 1 are treated as equivalent negative signs.
Thus the zoned decimal values F2F3B0, F2F3D0, and 020310 are counted
as only one unique value.
- Digits are not checked for validity.
- 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.
- UZERO
- See the discussion of this operand on the OCCUR statement on OCCUR operator.