DC601242 DDLDCMSG CANNOT BE READIED
search cancel

DC601242 DDLDCMSG CANNOT BE READIED

book

Article ID: 194758

calendar_today

Updated On:

Products

IDMS IDMS - Database

Issue/Introduction

Attempting to ADD or MODIFY messages or update messages in any way is resulting in this error message:
 
DC601242 DDLDCMSG CANNOT BE READIED
 
In particular, this often happens when a PTF has HOLDDATA which instructs the user to update messages with IDMSDDDL.

Environment

Release: All supported releases.

Cause

The DDLDCMSG area is not available in an update usage mode in the CV. It is either OFFLINE or in RETRIEVAL mode.

Resolution

From the ENTER NEXT TASK CODE: prompt, display the DDLDCMSG area.

DCMT D AREA SYSMSG.DDLDCMSG

It is possible that the "segment" part of the area name is not SYSMSG as it is above. If that is the case, then issue the following command to display every area in the CV and scroll through the output looking for the area which has DDLDCMSG as the "area" part of the name. There should only be one of them.

DCMT D AREA

The status of the area will appear under the Lock heading.

DCMT D AREA SYSMSG.DDLDCMSG
---------- Area -----------   Lock    Lo-Page    Hi-Page #Ret  #Upd #Tret #Ntfy
SYSMSG.DDLDCMSG                Ret      10001      14000    4     0     0     0
 Stamp: 2003-12-16-10.45.21.298599  Pg grp: 0      NoShare  NoICVI  NoPerm

To resolve the problem, the area needs to be varied to update.

DCMT VARY AREA SYSMSG.DDLDCMSG UPDATE

However, a likely scenario is that the reason it is in retrieval mode in the first place is that it is shared between multiple CVs and is only in update mode in one of them. If this is the case, then it will not be possible to vary it to update. To determine the other CVs which use this area, first issue this command to determine the z/OS dataset name of the file containing the area.

DCMT D AREA SYSMSG.DDLDCMSG ALL
---------- Area -----------   Lock    Lo-Page    Hi-Page #Ret  #Upd #Tret #Ntfy 
SYSMSG.DDLDCMSG                Upd      10001      14000    4     0     0     0 
 Stamp: 2003-12-16-10.45.21.298599  Pg grp: 0      NoShare  NoICVI  NoPerm

-------- Data File -------- Mode Stat Pg-Size  Fl-Type M-Cache S-Cache DD-Name
SYSMSG.DCMSG                 Upd    0   4276  non-VSAM    No      No   DCMSG
  Pre-fetch: Not-Allowed (DMCL)       Pages per Track   11        VOLSER: VOL001
  DSname: (DMCL).. IDMS.CV01.SYSMSG.DDLDCMSG                      DISP=SHR

--- Data Buffer --  Size    In-use        Max     Getstg Prfetch-Min   Prefetch 
BUFFER_04276        4276       510        510      OPSYS         500 Not-Allowd 
  Synonym Table       User-Defined     System-Calculated       Total-Space Used 
                               510                  1024                     4k 
  Allocation     Initial   Addit'l  Num-Alloc  Size-Init  Size-Add'l  Tot-Space 
                     510       510          1     2.3meg           0     2.3meg 
  Storage                Stg-Pools  Getmain'd Above-16mb  Below-16mb      Total 
                               17k     2.3meg     2.3meg           0     2.3meg 

The dataset name in this example is IDMS.CV01.SYSMSG.DDLDCMSG.

Using an appropriate command from TSO option 6, it should be possible to determine the IDMS CVs that are using this dataset. Two examples are:

ISRDDN E 'IDMS.CV01.SYSMSG.DDLDCMSG'
WHOHAS 'IDMS.CV01.SYSMSG.DDLDCMSG'

Once it has been determined what the CVs are, use the above DCMT D AREA commands from within each of those CVs to determine which one of them has the area in update mode - there should be only one.

At this point, there are two options.

  1. Vary the area to retrieval in the CV that has it in update mode, and to update in the CV through which the original attempt is being made.

    DCMT VARY AREA SYSMSG.DDLDCMSG RETRIEVAL
    ...
    DCMT VARY AREA SYSMSG.DDLDCMSG UPDATE

    And then attempt the original update again.

    If this option is chosen, remember to VARY the areas back to the condition in which they originally were in each CV.

  2. Just perform the update through the CV that has the area in update mode. The areas are being physically shared and messages are only contained in *.DDLDCMSG areas and any updates to them do not update any other areas.

Additional Information