ACF2 CLASMAP with POSIT(0) being copied gets error message ACF00095 POSIT VALUE NOT VALID FOR INTERNAL CLASMAP RECORD

book

Article ID: 196076

calendar_today

Updated On:

Products

CA ACF2 CA ACF2 - z/OS CA ACF2 - MISC

Issue/Introduction

Attempting to copy an old CLASMAP record to a new SYSID.

INSERT CLASMAP.MQCMDS USING(CLASMAP.MQCMDS) USYSID(PRD1)  
gets this error message:  

ACF00095 POSIT VALUE NOT VALID FOR INTERNAL CLASMAP RECORD

The record looks like this on the database:

PRD1 / CLASMAP.MQCMDS LAST CHANGED BY secadm ON 01/31/00-10:36                 
                      ENTITYLN(22) MUSID() POSIT(0) RESOURCE(MQCMDS)          
                      RSRCTYPE(MQC)

Cause

IBM added the POSIT field in the 1990's, but no values were assigned for several years.  The default at the time was 0.  In the 2000's IBM started assigning reserved numbers to IBM defined resource classes.  Valid values reserved to IBM defined resource class are 0-18, 57-127 and 528-1023.  ACF2 Development in release 9.0 would not allow the IBM value for POSIT to be differently set by a user with a coding change.

Environment

Component : CA ACF2 for z/OS

Resolution

The insert command needs to be done without expressing any POSIT value:

SET CONTROL(GSO) SYSID(PRD2)
GSO
INSERT CLASMAP.MQCMDS USING(CLASMAP.MQCMDS) USYSID(PRD1) POSIT()


PRD2 / CLASMAP.MQCMDS LAST CHANGED BY secadm ON 07/31/20-09:23                 
                      ENTITYLN(22) MUSID() RESOURCE(MQCMDS)          
                      RSRCTYPE(MQC)

 

ACF2 code will populate the POSIT field when the CLASMAP records are loaded into storage during an IPL, or after a REFRESH command is issued.  Doing a SHOW CLASMAP will list the currently active CLASMAP table.

Additional Information

If you want to remove the GSO records with the invalid POSIT value, the record will need to be deleted and then re-inserted without any POSIT specified.