Using Logical Processing
TABLE Command
A29247-X4-X-8-7672
145
.
Examples
This section shows examples of using the TABLE command.
Example 1
The following are sample TABLE commands. The identifiers T1, T2, and T3 are each ref-
erenced by a CRITERIA command.
T1: TABLE CONSTANT=('$$//');
T2: TABLE CONSTANT=('//JOB ','//EXEC');
T3: TABLE CONSTANT=(120)'*';
Example 2
The following example illustrates the use of the MASK parameter to determine whether a
particular field in a data record contains one of several different 6-character serial number
formats. Possible formats are: xx999x, x999x9, and 99x999. For this example, x represents
any alphabetic character and 9 represents any numeric character.
If the input code type is EBCDIC, the VOLUME command includes TCODE=EBCDIC. The
TABLE command to find the format x999x9 within the input data stream would look like:
T1: TABLE MASK=('?','%','@'),CONSTANT=('@ % % % @ %');
Parameter
Definition(s)
CONSTANT=
(
sc
1
[,
sc
2
][,...])
sc
is a string of constants composed of literal characters and masking characters
(as defined by the MASK parameter of this command). All string constants must
be of the same length in bytes. The number of bytes for all constants in the table
(after conversion of any hexadecimal or octal constants) is limited to 255 bytes.
There is no default.
MASK=
(
ignore-char
[,
charspeci
1
]
[,
charspeci
2
]
[,...])
This option has the following components:
ignore-char
Specifies a character to appear in those positions within a string constant which
are not to be compared.
charspeci
(
i
= index number) specifies a character(s) to appear in those positions within a
string constant where a test for type i characters is to be performed. A charspec
is of the form: '
char
' or ('
char
','
char
’,...'
char
'). Mask characters should be defined
using the same string type as in the string specified in the CONSTANT parame-
ter.
There is no default.
Содержание XDL
Страница 1: ...Oc Oc Reference Guide Oc PRISMAproduction Server V3 10 LCDS Module XDL DJDE...
Страница 4: ...A29247 X4 X 8 7672...
Страница 66: ...Summary of VOLUME Command Parameters Input Processing 58 A29247 X4 X 8 7672...
Страница 118: ...Summary of OUTPUT Command Parameters Continuation Print Processing 110 A29247 X4 X 8 7672...
Страница 120: ...Summary of OUTPUT Command Parameters Continuation Print Processing 112 A29247 X4 X 8 7672...
Страница 121: ...Print Processing Summary of OUTPUT Command Parameters Continuation A29247 X4 X 8 7672 113...
Страница 123: ...Print Processing Summary of OUTPUT Command Parameters Continuation A29247 X4 X 8 7672 115...
Страница 125: ...Print Processing Summary of OUTPUT Command Parameters Continuation A29247 X4 X 8 7672 117...
Страница 142: ...Summary of STOCKSET Statement Command Parameters Print Processing 134 A29247 X4 X 8 7672...
Страница 176: ...RSUSPEND and RRESUME Commands Using Logical Processing 168 A29247 X4 X 8 7672...
Страница 240: ...Migrating to HC Highlight Color Support 232 A29247 X4 X 8 7672...