I am issuing a TSO ACF CHANGE IF(SECURITY ACCOUNT) command and getting error message 'ACF5D003 OPERATOR EXPECTED NEAR 'SECURITY ACCOUNT', what causes this error?
search cancel

I am issuing a TSO ACF CHANGE IF(SECURITY ACCOUNT) command and getting error message 'ACF5D003 OPERATOR EXPECTED NEAR 'SECURITY ACCOUNT', what causes this error?

book

Article ID: 13040

calendar_today

Updated On:

Products

ACF2 ACF2 - DB2 Option ACF2 for zVM ACF2 - z/OS ACF2 - MISC PanApt PanAudit

Issue/Introduction

I am issuing a TSO ACF CHANGE IF(SECURITY ACCOUNT) command and getting error message 'ACF5D003 OPERATOR EXPECTED NEAR 'SECURITY ACCOUNT', what causes this error?

Environment

Release:
Component: ACF2MS

Resolution

The LIST IF and CHANGE IF commands that specify multiple fields in the IF statement must have the fields be delimited by ",", "AND" or "OR". Blanks are not acceptable as a delimiter and will cause the ACF5D003 error.

For example:

list if(non-cncl nomusass norestrict nosuspend)                       fails with ACF5D003

list if(non-cncl or nomusass or norestrict or nosuspend)           works

list if(non-cncl, nomusass, norestrict, nosuspend)                    works("," equivalent to "AND")

list if(non-cncl and nomusass and norestrict and nosuspend)    works