User Exit IJDT (I Just Did This)

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.

Description

Type

Length

Usage

DC@IDS

*CHAR

1024

Cannot be changed

DC@EDS

*CHAR

2500

Cannot be changed

Object Name

*CHAR

10

Cannot be changed

Object Extension

*CHAR

10

Cannot be changed

Object Type

*CHAR

2

Cannot be changed

Event Code

*CHAR

3

Cannot be changed

Message ID

*CHAR

7

Cannot be changed

Message File Name

*CHAR

10

Cannot be changed

Message Data

*CHAR

132

Cannot be changed

Return Code

*CHAR

1

Can be changed. Valid values are Y or N.

User Exit Return Code

*CHAR

1

Will accept C or N.

Event Source

*CHAR

10

Cannot be changed.

Event LockId

*CHAR

1

Cannot be changed.

Event SubType

*CHAR

3

Cannot be changed.

 

 

Refer also to Data Area DC@A07 positions 689-708.