A user-defined program can manipulate the processing of the LANSA IJDT (I Just Did This) and will return two parameters that will influence the processing. The User Exit Return Code parameter will determine whether to continue with the LANSA IJDT (DC@P8097) processing or not.
The user-defined program will be executed before the IJDT check, regardless of whether Task control is active or not. (The user-defined program can determine if task control is active by the contents of parameter DC@EDS. If 'Y' is found in DC@EDS parameter position 1517 - 1517, then task control is active for the partition.)
If the user exit's program parameter User Exit Return Code returns a value of:
If the user exit returns a Return Code value that is not Y or N, the LANSA IJDT will process as for a User Exit Return Code of C.
If the Partition ID is required, it can be derived from DC@IDS parameter position 910 - 912.
Refer also to Data Area DC@A07 positions 689-708.