PRCDR_CHCK_RLST

This procedure applies a ruleset (identified by its Ruleset identifier (RLST_ID)) on a dataset (identified by Target (TRGT)) and stores the resulting dataset in Result (RSLT).

Procedure ID

PRCDR_CHCK_RLST

Description

Procedure to use a ruleset and obtain the desired output

Natural language

This procedure applies a ruleset (identified by its Ruleset identifier (RLST_ID)) on a dataset (identified by Target (TRGT)) and stores the resulting dataset in Result (RSLT).

Expression

define procedure PRCDR_CHCK_RLST (input TRGT as dataset, input RLST_ID as string, output RSLT as dataset) {

RSLT := check (TRGT, RLST_ID);
RSLT := RSLT [drop CONDITION];
RSLT := RSLT [rename (RULE_ID as “VLDTN_ID”)];

}