Some of the FD keywords do not apply when you select certain patterns
or pictures; for example, the INDEX, CYCLE, RANGE, and SIGN parameters
are used only with numeric fields. Table 1 shows which IEBDG keywords can be used
with which patterns. Each keyword should appear no more than once
on any FD statement.
Table 1. Compatible
IEBDG oECperations FORMAT/PICTURE Value
|
Compatible Parameters
|
---|
FORMAT=AL (alphabetic)
FORMAT=AN (alphanumeric)
FORMAT=CO (collating sequence)
|
ACTION=SL (shift left)
ACTION=SR (shift right)
ACTION=TL (truncate left)
ACTION=TR (truncate right)
ACTION=FX (fixed)
ACTION=RP (ripple)
|
FORMAT=ZD (zoned decimal)
FORMAT=PD (packed decimal)
FORMAT=BI (binary)
|
INDEX=n
CYCLE=n
RANGE=n
SIGN=n¹
SIGN=n(1)
|
PICTURE=P'n' (packed decimal)
PICTURE= n
(binary)
|
INDEX=n
CYCLE=n
RANGE=n
SIGN=n
|
PICTURE='string' (EBCDIC)
|
ACTION=SL (shift left)
ACTION=SR (shift right)
ACTION=TL (truncate left)
ACTION=TR (truncate right)
ACTION=FX (fixed)
ACTION=RP (ripple)
ACTION=WV (wave)
ACTION=RO (roll)
|
Note: (1) Zoned decimal numbers (ZD) do not include a sign.
|