How to check for a value in an ACF2 logonid field
search cancel

How to check for a value in an ACF2 logonid field

book

Article ID: 193424

calendar_today

Updated On:

Products

ACF2 ACF2 - z/OS ACF2 - MISC

Issue/Introduction

ACF2 field RSAID is defined as a CHAR field in the ACFFDR.  What method can be used to check for values in the field?

Environment

Release : 16.0

Component : CA ACF2 for z/OS

Resolution

Using the ACF prompt, the IF statement can be used to check for data.

LIST UID(-) IF(RSAID = c'ABCD')  Other boolean logic can be used, like IF(RSAID NE c'')  looking for a blank field.

 

Additionally, the ACFRPTSL report can be used.

//jobcard
//STEP1    EXEC PGM=ACFRPTSL                         
//SYSPRINT DD SYSOUT=*                                
//SYSIN    DD  *                                      
 INPUT(ACF2)
 REPORT(SHORT)
 DTCFIELD(NO)
 IF(RSAID > c'1234')   
 SFLDS(RSAID)    
/*
//                                  

Additional Information

For more information on the LIST command:  https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-mainframe-software/security/ca-acf2-for-z-os/16-0/command-reference/acf-subcommands/list-subcommand.html

For more information on the ACFRPTSL report: https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-mainframe-software/security/ca-acf2-for-z-os/16-0/reporting/acfrptsl-selected-logonid-list.html