What does message DC601002 mean?

Document ID : KB000029200
Last Modified Date : 14/02/2018
Show Technical Document Details

When adding entities to the dictionary, either online with IDD or IDDM or in batch with IDMSDDDL, if the entity you are trying to ADD already exists, there are two possible courses of action that the system will take.

If the dictionary option DEFAULT is ON, then the ADD action will automatically be changed to MODIFY, and the action will be treated as if it were a MODIFY.  For example:-

DIS ELE TEST.
*+   ADD
*+   ELEMENT NAME IS TEST VERSION IS 1
*+       DATE CREATED IS      10/23/14
*+       PREPARED BY HILIA03
*+       PUBLIC ACCESS IS ALLOWED FOR ALL
*+       PRIMARY
*+           PICTURE IS X(1)
*+           USAGE IS DISPLAY
*+           ELEMENT LENGTH IS 1
*+       .
ADD ELE TEST PIC X(2).
*+ W DC601002  ADD CHANGED TO MODIFY
DIS ELE TEST.
*+   ADD
*+   ELEMENT NAME IS TEST VERSION IS 1
*+       DATE CREATED IS      10/23/14
*+       DATE LAST UPDATED IS 10/24/14
*+       PREPARED BY HILIA03
*+       REVISED  BY HILIA03
*+       PUBLIC ACCESS IS ALLOWED FOR ALL
*+       PRIMARY
*+           PICTURE IS X(2)
*+           USAGE IS DISPLAY
*+           ELEMENT LENGTH IS 2
*+       .

However, if the dictionary option DEFAULT is OFF, then an attempt to ADD an exiting entity will fail.

ADD ELE TEST PIC X(3).
*+ E DC601013  ELEMENT TEST VERSION 1 IS ALREADY IN DICTIONARY
*+ W DC601017  FORWARD SPACING TO NEXT PERIOD
DIS ELE TEST.
*+   ADD
*+   ELEMENT NAME IS TEST VERSION IS 1
*+       DATE CREATED IS      10/23/14
*+       DATE LAST UPDATED IS 10/24/14
*+       PREPARED BY HILIA03
*+       REVISED  BY HILIA03
*+       PUBLIC ACCESS IS ALLOWED FOR ALL
*+       PRIMARY
*+           PICTURE IS X(2)
*+           USAGE IS DISPLAY
*+           ELEMENT LENGTH IS 2
*+       .

For more information about setting dictionary options, see the manual "CA IDMS IDD DDDL Reference Guide", "DDDL Compiler Options", "SET OPTIONS Statement", or use the following link:-
http://support.ca.com/cadocs/0/CA IDMS 18 5 User Bookshelf-ENU/Bookshelf_Files/HTML/IDMS_IDD_DDDL_Ref_ENU/index.htm?toc.htm?1149960.html 

Note:- In batch, the DC601002 results in a RC=4.  When migrating load modules, it may be desirable that this scenario NOT result in a RC=4. For this reason, optional bit number 324 was introduced to suppress the RC=4 when the entity is a load module.

See RI70658 for a description of all available optional bit numbers as of r18.5.

For more information regarding optional functionality, see the CA IDMS System Operations Guide chapter "Applying optional Functionality", or use this link: https://support.ca.com/cadocs/7/CA IDMS 18 5-ENU/Bookshelf_Files/HTML/IDMS_System_Operations_ENU/index.htm?toc.htm?984367.html