Capturing ACF2 SCOPE records using ACFSVC results in ACF0A005 message
search cancel

Capturing ACF2 SCOPE records using ACFSVC results in ACF0A005 message

book

Article ID: 133796

calendar_today

Updated On:

Products

ACF2 ACF2 - z/OS ACF2 - MISC

Issue/Introduction

ACF2 message ACF0A005 RECORD(S) NOT FOUND is seen when trying to retrieve SCOPE records using ACFSVC. There are SCOPE records on the system. Why is ACFSVC unable to find the SCOPE records?

 

 

Resolution

To capture all ACF2 SCOPE records, ACNTKEY needs to be formatted as SSCP********

Example: 

ACFNTFCN x'0A' 

ACNTSFCN ACNT$URT 

ACNTFLGC ACNC$SEQ+ACNC$MRI 

ACNTMSG @MESSAGE AREA

ACNTKEY SSCP******** 

ACNTRECB @return buffer 

ACNTREL Length of return buffer