ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

ACF2 ACF5D100 syntax errors with the ACFRPTSL report.

book

Article ID: 199189

calendar_today

Updated On:

Products

ACF2 ACF2 - z/OS ACF2 - MISC

Issue/Introduction

Trying to list all LIDs with SECURITY and no SCOPE and getting errors in the syntax.

//STEP1  EXEC PGM=ACFRPTSL                               
//SYSPRINT DD SYSOUT=*                                   
//SYSIN    DD *                                          
  INPUT(ACF2)                                            
  DTCFIELD(NO)                                           
  MASK(********)                                         
  REPORT(SHORT)                                          
  LINECNT(9999)                                          
  IF(SECURITY AND SCPLIST='')                                           
  SFLDS(CRE-TOD ACC-DATE SCPLIST)                        
//                                                       

Environment

Release : 16.0

Component : CA ACF2 for z/OS

Resolution

When running the ACFRPTSL report with the same parameters received the following ACF5D100 pointing out the syntax error: 

ACF5D100 INVALID QUOTED STRING NEAR 'LIST='')' IN OPERAND COLUMN 24 

The ACF5D100 error indicates Reason: Unpaired quotation marks were found or the quoted string was not preceded or followed by a correct delimiter.

When a blank is added between the quotes in SCPLIST=' ' rather than SCPLIST='' the report works without any errors.