Task code MAPC loops or causes the whole CV to loop

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

Symptoms:

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:OLMPDAST ABENDED WITH CODE D004

 

Cause:

All 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:

Mapping Facility Guide sections Batch Utility Reference and Batch Compiler Statements