Hi,
Can someone tell me how you interpret the code when there are stacked "WHEN"s with no "action" statements after them (i.e, "PERFORM"s ,etc.) in an EVALUATE TRUE statement ?
Are they to be interpreted as "OR" conditions ? For example, how would the example below be interpreted:
EVALUATE TRUE
WHEN NOT field1
WHEN field2
WHEN field3
WHEN field4
WHEN field5 = '1'
CONTINUE
WHEN TRANS-DATE > CURRENT-DATE
PERFORM....
|
|
|
|
END-EVALUATE
Thanks very much !
jtwo
Can someone tell me how you interpret the code when there are stacked "WHEN"s with no "action" statements after them (i.e, "PERFORM"s ,etc.) in an EVALUATE TRUE statement ?
Are they to be interpreted as "OR" conditions ? For example, how would the example below be interpreted:
EVALUATE TRUE
WHEN NOT field1
WHEN field2
WHEN field3
WHEN field4
WHEN field5 = '1'
CONTINUE
WHEN TRANS-DATE > CURRENT-DATE
PERFORM....
|
|
|
|
END-EVALUATE
Thanks very much !
jtwo