User-Written Edit Modules › Output Modules for Mapout Operations › Format of Data
Format of Data
A user-written edit module can be performed before, instead of, or after automatic editing. The point at which a user-written edit module is performed affects the format of data that is received by and output from the module.
Input Data
A user-written edit module for mapout operations must be prepared to receive data in the format that is appropriate to the point at which the module executes:
- When executed before or instead of automatic editing, a user-written edit module receives data in internal format for the field.
- When executed after automatic editing, a user-written edit module receives data in external format for the field. Data is only passed to the user edit module after the data has been edited and automatic editing criteria indicate that the data is correct.
Output Data
A user-written edit module for mapout operations must output data in the format that is appropriate to the point at which the module executes:
- When executed before automatic editing, a user-written edit module must output data in internal format for the field. Output data must be returned to program variable storage from which the data originally came (address word 1).
- When executed instead of automatic editing, a user-written edit module must output data in external format for the field. Output data must be placed in the target field in the output buffer (address word 2).
- When executed after automatic editing, a user-written edit module must output data in external format for the field (address word 2).
Copyright © 2013 CA.
All rights reserved.
|
|