Receive the result of the Processing Sequence run
When function DXP1FN1 completes, it places several variables on the LANSA exchange list that identify the processing sequence run and provide the result. Your application may refer to these fields immediately after the CALL to determine the result.
If you have imported the LANSA Composer development package into your Visual LANSA development environment, the definition of the necessary fields will already be present in your LANSA repository. Otherwise, if you wish to refer to them, these fields must be defined with these essential characteristics:
Name |
Description |
Type |
DXP1RN |
Run number |
P(15, 0) |
DXPVRN |
Run number |
A(15) |
DXEXRC |
Execution result code |
A(2) |
DXEXSV |
Execution result severity |
P(3, 0) |
For an example of receiving and testing the result of the Processing Sequence run after calling function DXP1FN1 refer to: