search cancel

How to write ACF2 rule for STGADMIN.SMS.ALLOW.PDSE.COMPACT RACROUTE EXTRACT call

book

Article ID: 241380

calendar_today

Updated On:

Products

ACF2 - z/OS ACF2 ACF2 - MISC

Issue/Introduction

When trying to test PDSE compression using zEDC there is a failure for the resource call STGADMIN.SMS.ALLOW.PDSE.COMPACT. What is required to satisfy the EXTRACT request? Here is the information from the SECTRACE:

JOBNAME= JOB1     ASID= 00A0          PGM= ISRUDA         CURR RB= SVC099  
SFR/RFR= 4/8:0      MODE= TASK          APF= AUTHORIZED     LOCKS= NONE      
SAFDEF= GENXTRCT INTERNAL MODE= GLOBAL                                       
                                                                             
RACROUTE REQUEST=EXTRACT,CLASS='FACILITY',RELEASE=1.9,SUBPOOL=229,           
         SEGMENT='BASE',BRANCH=NO,DERIVE=NO,                                 
         ENTITY=('STGADMIN.SMS.ALLOW.PDSE.COMPACT'),FIELDS=,                 
         FLDACC=NO,GENERIC=ASIS,MSGSP=0,MATCHGN=NO,TYPE=EXTRACT,             
         WORKA=                                                              
FIELDS   DATA AREA FOLLOWS                                                   
0006362E +000  00000001 C1D7D7D3 C4C1E3C1           *....APPLDATA*           

 

Environment

Release : 16.0

Component : ACF2 for z/OS

Resolution

A RACROUTE EXTRACT call for APPLDATA is being made, so the resource rule needs to contain the following:

  • The $KEY must contain the full, unmasked resource name (due to MATCHGN=NO in the call)

  • A $USERDATA control statement containing the APPLDATA information (STGADMIN calls don't care what is contained in this field, but it needs to be specified regardless)

  • Do not code a SERVICE on the rule line. The rule line should be either ALLOW or PREVENT

Example: 
$KEY(STGADMIN.SMS.ALLOW.PDSE.COMPACT) TYPE(FAC)
$USERDATA(anything)
 UID(uid string -) ALLOW