Testing ACF2 rule in DB2 fails

book

Article ID: 145936

calendar_today

Updated On:

Products

ACF2 ACF2 - DB2 Option ACF2 - z/OS ACF2 - MISC

Issue/Introduction

This is a DB2 Resource rule:

$KEY(BINDAGENT) TYPE(SYS) SYSID(DB2P)                                   

$ROLESET                                                                

$MODE(ABORT)                                                            

$MEMBER(BINDAGNT)                                                       

 ALS ROLE(PAYDEV) ALLOW                                                 

CDS ROLE(ACTDEV) ALLOW                                                 

CLADMIN ROLE(PAYDEV) ALLOW          

 

The TEST command below is failing

SET DB2(SYS) TYPE(DB2P)
ACF67030 INVALID OPERAND - TYPE
L BINDAGENT
ACF67047 ENTER VALID SET COMMAND, PREVIOUS ONE FAILED
TEST BINDAGENT
ACF04005 RECORD(S) NOT FOUND

What is wrong?

Environment

Release : 16.0

Component : CA ACF2 for z/OS

Component : CA ACF2 for DB2

Resolution

The format of the SET command is:

SET DB2(type) SYSID(sysid)

Based on the rule, the command would look like:
 
SET DB2(SYS) SYSID(DB2P)