Ian_Hill

CA Tuesday Tip: (CA IDMS) MAPOUT of correct fields in error cycle

Discussion created by Ian_Hill Employee on Jan 15, 2013
CA IDMS Tuesday Tip by Ian Hill, Principal Support Engineer for January 15, 2013.

When AUTOMATIC EDITING is enabled for a map, you may encounter some unexpected DISPLAY output.

During the error cycle (i.e., while at least one field in the map is marked as IN ERROR), only the attribute bytes are actually sent to the map - the data is not. This is true for both the fields marked IN ERROR and those not IN ERROR. This is documented in the Mapping Facility manual, Chapter 4, "Automatic Editing and Error Handling", sub-section "Error Handling at Runtime", on page 91 in the r17.1 manual and 89 in the r18.0 manual.

This means that if your application code is performing some validation, and during this process some of the map field values are changed by the code, then these changes will not be reflected in the MAPOUT if there are still any fields marked IN ERROR.

This behvaiour can be changed with RHDCOPTF optional bit 260 - see APAR RO26219 for the full description. With optional bit 260 enabled, the data for the fields not marked IN ERROR will be transmitted to the map. The fields marked IN ERROR are not transferred to the map whether bit 260 is enabled or not.

Outcomes