Previous Topic: ERASE and DISCONNECTNext Topic: Writing a Navigational DML Program


Testing Set Membership

Using the IF function, users can test the following conditions associated with set membership:

The IF function allows specification of the action to be taken when the result of the test is true. The following options of the IF function determine the condition to be tested:

The following figure illustrates tests for an empty set condition. The routine locates each JOB in the ORG-DEMO-REGION and erases those whose JOB-EMPOSITION set is empty.