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:
If EXECUTE ON EDIT ERRORS is YES, control passes to the appropriate response process.
If EXECUTE ON EDIT ERRORS is NO, control does not pass to the response process until the operator either corrects all input errors detected by automatic editing or terminates the dialog.
Note: For more information about how dialogs and programs respond to input errors in maps, see Error Handling at Runtime.
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:
Copyright © 2013 CA.
All rights reserved.
|
|