User Exit - Export/Import Message logger
A user-defined program can change the message type parameter to another valid message type.
The available values for Message type are:
|
Message type E is similar to the existing warning code W. Code E is not used by LANSA but a user exit program can change the LANSA message type W or C to Code E, or Codes C to W or W to C. The LANSA message type F cannot be changed, nor can another code type be changed to F.
Changing the Message types will not influence the processing of the import/export but it will influence the report and the final totals for each message type.
If this user exit is used, the report will print the category (E) with this text:
nnnn - ERROR MESSAGES ISSUED DURING THIS IMPORT RUN.
The data area DC@RESLT, in positions 32-38, will be updated with the total of the Code Es encountered. If the user exit is not used, the value in this field will be set to zero. You can set positions 32-38 via the option User defined Export/Import message logging program in .
If the return code from the user-defined program is not one of the valid codes, the Export/Import message logger (DC@P6203) will ignore it and use its original return code.
If the Partition ID is required, it can be derived from DC@IDS parameter position 910 - 912.
Export/Import message logger will pass these parameters to this user exit program:
|
Refer also to Data Area DC@A07 positions 649-668.