ACF2 command LIST IF compound statement fails with the keyword EXPIRE
search cancel

ACF2 command LIST IF compound statement fails with the keyword EXPIRE

book

Article ID: 208693

calendar_today

Updated On:

Products

ACF2

Issue/Introduction

Why does a LIST IF compound statement fails with the keyword EXPIRE?

 ACF
list if(cancel or expire)                                                    
 ACF5D216 INVALID OPERATOR/OPERAND TYPES NEAR 'EXPIRE' IN OPERAND COLUMN 10  
 ACF5D216 INVALID OPERATOR/OPERAND TYPES NEAR 'OR' IN OPERAND COLUMN 7       

Environment

Release : 16.0

Component : CA ACF2 for z/OS

Resolution

The LIST if(cancel or expire) fails if the expire keyword does not have a value associated with it to compare against logonids.

If the 'LIST IF' command explicitly mentions the date such as 'LIST IF(CANCEL or EXPIRE EQ u'02/21/21')' the command will work.