When accessing the database, you may find it necessary to obtain information about an owner or member record's set-membership status. To obtain set-specific information for a record occurrence, use the IF statement. By using the IF statement, you can determine:
Each IF statement contains a conditional phrase and an imperative statement that specifies further action based on the outcome of the evaluation.
'Native VSAM users'. The IF statement is not allowed for sets defined with member records that are stored in native VSAM data sets.
Use of the IF EMPTY statement and the IF MEMBER statement are discussed below.
Copyright © 2013 CA.
All rights reserved.
|
|