EXIT_PARAMS
supply information about the associated EXIT-REC-BUF
when the call type is PROCESS_RECORD
or DISCARD_RECORD
. The exit routines can alter certain EXIT_PARAMS
to change how the caller processes returned records. The EXIT_PARAMS
structure includes the following:
Exit Parameter | Description |
---|---|
AUDIT_TIMESTAMP |
Provides the Julian, GMT timestamp of the audit block in which the record was found. This timestamp approximates the time of the original database operation. |
BEFORE_AFTER_IND |
For update records, determines whether the record is a before-image ( |
ERR_INFO |
This information is supplied with a discarded record to indicate the reason for the discard. The error number ( |
FUNCTION_PARAM |
Lets you pass a parameter to the exit. This parameter is set up in the Extract or Replicat parameter file as part of the The default size of |
MORE_RECS_IND |
Set by the user on return from an exit. For database records, determines whether Extract or Replicat processes the record again. This allows the exit program, for example, to output many records per record processed by Extract, a common function when converting Enscribe to SQL (data normalization). To request the same record again, set |
RECORD_LEN |
Provides the length of the record buffer passed. Change |
RECORD_TYPE |
Identifies the record as |
SOURCE_FILE |
Identifies the type of record passed to the exit during Extract processing. When custom mapping is performed, it is sometimes appropriate for the exit routines to change this field. For example, if the exit uses the record buffer from |
UPDATE_TYPE |
Determines the type of operation associated with the record buffer. Operations types are:
|