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
All these symptoms are usually caused by a corrupt map definition in the dictionary DDLDML area.
To resolve the problem the map definition in the dictionary has to be deleted and recreated. Use the following procedure to recreate the map:
- Decompile the map in batch by running RHDCMPUT with the following input parameters:
PROCESS=DECOMPILE MAP=<map name>
- 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
- Re-add the map in batch by running RHDCMAP1 using as input the decompiled map source from step 1.
- Compile the map in MAPC or in batch by running RHDCMPUT with the following input:
Mapping Facility Guide sections Batch Utility Reference and Batch Compiler Statements