Previous Topic: Automatic Editing on Mapin for Non-pageable Maps, Headers, and FootersNext Topic: Mapout Operations


Automatic Editing on Mapin for Pageable Maps

Automatic editing on mapin occurs as soon as the GET DETAIL statement in the process code is initiated. The code must check automatic editing for the results. The previous illustrated procedure is implemented however, it takes place after the GET DETAIL statement is encountered in the process code.

Additionally, automatic editing error messages found on input (mapin - after the GET DETAIL statement has been issued) are immediately moved into the message buffer area and cannot be suppressed.

How the Online Compiler Responds to Errors

If input is found to be in error during editing, the online compiler responds as follows:

  1. The field is identified as being in error.
  2. Automatic editing ends for the field.
  3. Automatic editing either continues with the next appropriate field on the map or relinquishes control to the program that requested the mapin, as described:

Considerations

The following considerations apply to runtime automatic editing:

Determining if a Field is Changed or Erased

Map inquiry statements issued by the CA ADS dialog or application program that uses the map determine that data is changed or erased when the ERASE EOF key is pressed: