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

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

ACF2 ACF2 - z/OS ACF2 - MISC

Issue/Introduction

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

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

ACF00095 POSIT VALUE NOT VALID FOR INTERNAL CLASMAP RECORD

The record looks like this on the database:

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

Environment

Component : CA ACF2 for z/OS

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.

Resolution

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

SET CONTROL(GSO) SYSID(sys2)
GSO
INSERT CLASMAP.MQCMDS USING(CLASMAP.MQCMDS) USYSID(sys1) POSIT()


sys2 / CLASMAP.MQCMDS LAST CHANGED BY abcd 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.