ACFTESTR - CA ACF2 Resource Rule Test Facility ACF04005 RECORD(S) NOT FOUND
search cancel

ACFTESTR - CA ACF2 Resource Rule Test Facility ACF04005 RECORD(S) NOT FOUND

book

Article ID: 270674

calendar_today

Updated On:

Products

ACF2 - z/OS

Issue/Introduction

Using the ACF2 ISPF TEST panel to test a resource rule. Getting the following messages:

ACF04005 RECORD(S) NOT FOUND                    
ACF67001 COMMAND SERVICE  INVALID OR AMBIGUOUS

Environment

Release : 16.0

Resolution

Trying to test a rule from the ACF2 ISPF panel:


------------- ACFTESTR - CA ACF2 Resource Rule Test Facility ------------------
COMMAND ===>                                                                   
                                                                               
 Resource RULEID Name to be Tested:                                            
 $KEY       ===> RULEABC                                                           
 Resource Type of RULEID:                                                      
 Type       ===> SAF  (e.g., CKC, ITR, TAC, etc.)                          
 Extended Resource Name:                                                       
 RSRCNAME   ===> 'CSFRNG'                                                          
 Decompile Prior to Test:                                                      
   DECOMP     ===> NO   YES/NO                                                 
                                                                               
 Logonid or UID String of the User That the Rule is to be Tested Against:      
 LOGONID    ===> USER001         UID         ===>                          
   ROLE       ===>                                                             
                                                                               
 Additional Parameters to be Associated With the Test: Optional                
   Time           ===>             hhmm                                        
   Input Source   ===>             source-id                                   
   Until Date     ===>             mm/dd/yy                                    
 Service        ===> READ                            R,A,U,D,E              
   NOPREFIX       ===> NO          YES/NO                                      
   WHEN           ===>                                                         
           ------------- ACFTESTR Output Display Area --------------       

ACF04005 RECORD(S) NOT FOUND                    
ACF67001 COMMAND SERVICE  INVALID OR AMBIGUOUS 

The error occurs because there is no $KEY(CSFRNG) TYPE(SAF) rule. The '$KEY       ===> ' specified must exist in the ACF2 INFOSTG database under the 'Type       ===> ' type code specified in the panel, in other words the $KEY(CSFRNG) TYPE(SAF) rule must exist. Note the can be any valid rule stored under the 'Type       ===> ' type code, since the rule processor will test for the resource using all of the resource rules stored under that TYPE code. The TEST command output will specify the rule used in the validation, VALIDATED RULE LINE FROM xxx.xxxxxxx TYPE ttt.