Gen Construction Packaging Error “Load module name is used in another source member or screen”.
search cancel

Gen Construction Packaging Error “Load module name is used in another source member or screen”.

book

Article ID: 269597

calendar_today

Updated On:

Products

Gen Gen - Host Encyclopedia

Issue/Introduction

In Construction Online/Batch packaging when renaming a load module from OLDNAME to NEWNAME, receive the error “Load module name is used in another source member or screen”. This error is caused by the existence of a conflicting object using the same module name NEWNAME.

 

Environment

Release : 8.6

Resolution

Steps to find the conflicting object name and to resolve the module rename error by renaming the conflicting object or in rare cases, deleting the conflicting object.

1. Run the Model Action Block Use Report, then issue a find NEWNAME to find the conflicting object name OBJECTNAME.

A. If no conflicting object is found in the report, the model may have an object that is using NEWNAME, but that object is not packaged in any load module.

To find the conflicting object OBJ_ID, run the following SQL statements replacing OWNER, MODEL and NEWNAME:

SET CURRENT SQLID = 'OWNER';
SELECT O.OBJ_ID, O.OBJ_TYPE_CODE, P.PROP_TYPE_CODE, P.PROP_CHAR_VAL
FROM   DPRP P,
       DOBJ O,
       DMDL M
WHERE  M.MODEL_NAME = 'MODEL'
AND    M.MODEL_ID = O.OBJ_MODEL_ID
AND    O.OBJ_ID = P.PROP_OBJ_ID
AND    P.PROP_TYPE_CODE = 208
AND    P.PROP_CHAR_VAL = 'NEWNAME'
AND    O.OBJ_TYPE_CODE IN (121, 122, 167, 168, 230, 9, 307)
;

B. Use WalkEncy (TSO %TIEWENCY), supplying the MODEL and object OBJ_ID (from the query), to help identify the conflicting object name.

In the next screen of WalkEncy, use F (From), or S (To and From) to drill down to identify the specific OBJECTNAME.

2. Ensure OBJECTNAME is checked in.

3. Use HE panel (1.3.3) to rename the conflicting object or if necessary, delete the conflicting object. Recommend renaming the object until an impact analysis is completed.

4. Go back to Construction Online/Batch packaging and rename the load module to NEWNAME.