Task code MAPC loops or causes the whole CV to loop
search cancel

Task code MAPC loops or causes the whole CV to loop

book

Article ID: 26077

calendar_today

Updated On:

Products

IDMS IDMS - Database IDMS - ADS

Issue/Introduction

There are various symptoms to this problem. It can occur when modifying, displaying or compiling a map online using task code MAPC.

It can cause the task to loop or it may cause the whole CV to loop. The loop can be in module OLMPDACC or OLMPDAST. The following message may be issued:

DC027007 Vnn Tnnnn TASK:ADS2 PROG:OLMPDACC ABENDED WITH CODE D004

 

Environment

IDMS - All Supported Releases

Cause

These symptoms are usually caused by a corrupt map definition in the dictionary DDLDML area.

Resolution

To resolve the problem the map definition in the dictionary has to be deleted and recreated. Use the following procedure to recreate the map:

  1. Decompile the map in batch by running RHDCMPUT with the following input parameters:
    PROCESS=DECOMPILE MAP=<map name> 
  2. Delete the map online using task code MAPC. 
    If you have problems deleting the map online it can be deleted in batch by running RHDCMAP1 with the following input: 
    DELETE MAP <map name> VERSION nnnn
  3. Re-add the map in batch by running RHDCMAP1 using as input the decompiled map source from step 1.

  4. Compile the map in MAPC or in batch by running RHDCMPUT with the following input: 
    PROCESS=LOAD
    MAP=<map name>

Additional Information