CDRDATA structure

This structure contains different information about the conflict resolution user exit that caused the user exit program to be invoked. CDRDATA contains pointers to other predefined structures. Unless otherwise noted, all character fields in this structure are in UTF-8, blank padded and NOT NULL terminated.

Field Name Length (in bytes) Type Description
LABEL 8 Character An eye-catcher label for the structure containing the string “CDRDATA6” in EBCDIC.

This field helps you to identify this structure in an address space dump.

SRCSYSID 8 Character The source system identifier.
EXITNAME 8 Character The name of the load module that is specified in Management Console, in EBCDIC.
EXITTYPE 2 Integer The exit point where the user exit program was invoked.

Possible values for a Conflict Resolution User Exit:

16=Conflict Resolution exit

CALLTYPE 2 Integer The type of user exit call.

Possible values:

1=Process, 2=Initialize, 3=Terminate

USERDATA 4 Address Used to return data from the program that can be referenced in subsequent invocations.

Data placed in this field is persistent across user exit program invocations.

RESERVED1 16 Character An area reserved for future expansion.
USRMSG 512 Character Used to return a message that is placed in the Event Log.
PCONTROL 4 Address A pointer to the structure containing information about the conflict to be resolved.
PBEFOREIMG 4 Address A pointer to the structure containing information describing the Before image of the row with a detected conflict.
PAFTERIMG 4 Address A pointer to the structure containing information describing the After image of the row with a detected conflict.
PTARGETIMG 4 Address A pointer to the structure containing information describing the Before image of the row with a detected conflict.
PDESIREDIMG 4 Address A pointer to the structure containing information describing the Desired image of the row with a detected conflict.
RESERVED2 64 Character An area reserved for future expansion.