Using Logical Processing
CRITERIA Command
A29247-X4-X-8-7672
139
Constant mode
In the constant mode, the user must specify the location, length, and contents of a fixed field
within a user's record or block. Each user's record or block is examined at the specified lo-
cation to determine if the constant is present (the identifier tab-id defines the table contain-
ing the constant). If present, the CRITERIA command is true; if not, the command is false.
A constant mode CRITERIA command can be coded as follows:
cri-id
:
CRITERIA CONSTANT= (
offset
,
length
,EQ | NE,
tab-id)
LINENUM=(
init
,
count
);
Note:
length
must be the same as length of string in the TABLE CONSTANT.
Change mode
In change mode, the user must specify the length and location of a control field in each
record or block. When the content of the control field of one record (or block) differs from
the content of the control field of the previous record (or block), the CRITERIA command is
true.
A change mode CRITERIA command can be coded as follows:
cri-id:CRITERIA
CHANGE=(offset,length,NE,LAST),
LINENUM=(init,count);
LINENUM parameter
The LINENUM parameter of a CRITERIA command specifies that only a subset of a re-
port's data records are to be tested for the user-defined criteria. This subset is specified as
a set of continuous line numbers for a page. If the carriage control specification for a given
record is such that the record is placed within the set of lines specified by LINENUM, the
record is examined according to the CRITERIA command. Otherwise, it is not processed.
Combining change and constant modes
The CRITERIA tables may specify either change mode or constant mode functions; there
are no restrictions on their usage or combination.
There are two special cases: when the record or block is too short to include the field being
tested and when the line being tested contains no record, that is, it has been skipped. If the
test specifies a constant mode function, the CRITERIA fails.
Содержание 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...