Purpose
Conditional operations define test conditions that compare values held by different fields.
Syntax
►►─┬─ IF boolean-expression ─┬──┬─ result-action ─┬───────────────────────────►◄ ├─ if EOF ─┬┬─ Eq ─┬┬─────┤ └─ sequence ──────┘ │ │└─ = ──┘│ │ │ └┬─ Ne ─┬┘ │ │ └─ # ──┘ │ └┬─ B ────┬───────────────┘ └─ GOTO ─┘
Syntax Rules
For expanded syntax see SELECT / BYPASS — Overview.
For database access, the following reserved words can replace field-name-expression in the syntax:
|
PATH-ID REC-NAME IDMS-STATUS LR-STATUS DBKEY DBKEY-PAGE |
DBKEY-LINE DBKEY-ALPHA TABLE-ID TABLE-NAME SUBSCHEMA-NAME |
For database access, DB-EXIT is a possible value for result-action except in the case of an end-of-file (EOF) test operation. DB-EXIT instructs CA Culprit to pass processing control to CA IDMS/DB; CA IDMS/DB retrieves a requested database record and returns it to the CA Culprit input buffer.
|
Copyright © 2014 CA.
All rights reserved.
|
|