An ADS application abends with PREVIOUS TASK ABENDED WITH ABEND CODE D002 AND MESSAGE CODE 174003 How can the record that has a different length between dialogs and or applications be identified from the snap?

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

The DC174003 message is basically saying that the RBE* eyecatch is missing from where it should be. RBE* marks the start of a  record and it is likely that the record in front of it overlayed it because the dialogs and/or an application have different sizes for this record.

This is usually a result of making a change to a record and not  recompiling all the dialogs (or applications) which use that record.
 
In the snap dump, locate the MOST RECENT USER MODE REGISTERS. Note the address in R7. Add x'C' to this address which points to where the RBE* should be for a record in the buffer. Backup from this address and note the location of the first RBE* which is followed immediately by a record name.
 
This is the name of the record for which dialogs and applications have different lengths.
 
In IDD display this record and note all the dialogs and applications that are using this record. Recompile all the dialogs and applications. They will all be listed as programs in the IDD display.