1 | Change journal receiver exit information | Input | Char(*) |
The Change Journal Receiver exit program is called when a journal receiver has been detached from a journal.
After a journal receiver is detached, the operating system calls the user-written exit programs through the registration facility.
The exit point supports an unlimited number of exit programs. For information about adding an exit program to an exit point, see the Registration Facility.
Notes:
When you register the exit program, the following program data can be optionally provided. This program data specifies the user profile under which the exit program being registered will run. If the program data is not provided, the exit programs will run under the QUSER user profile. If the user profile specified is not found on the system, the exit programs will run under the QUSER user profile.
Offset | Type | Field | |
---|---|---|---|
Dec | Hex | ||
0 | 0 | Char(10) | User profile |
Information that is needed by the exit program for notification of any change journal receiver operations. For details, see Format of Change Journal Receiver Exit Information.
The following table shows the structure of the change journal receiver exit information for exit point format CRCV0100. For a description of the fields in this format, see Field Descriptions.
Offset | Type | Field | |
---|---|---|---|
Dec | Hex | ||
0 | 0 | BINARY(4) | Change journal receiver exit information length |
4 | 4 | CHAR(20) | Exit point name |
24 | 18 | CHAR(8) | Exit point format name |
32 | 20 | CHAR(10) | Journal receiver name |
42 | 2A | CHAR(10) | Journal receiver library name |
52 | 34 | CHAR(10) | Journal name |
62 | 3E | CHAR(10) | Journal library name |
72 | 48 | CHAR(10) | ASP device name |
82 | 52 | CHAR(1) | Journal type |
83 | 53 | CHAR(1) | Remote journal type |
84 | 54 | CHAR(13) | Detached date and time |
ASP device name. The name of the independent auxiliary storage pool (ASP) device on which the journal receiver resides. *SYSBAS is used to indicate the system ASP and all basic user ASPs.
Change journal receiver exit information length. The length in bytes of all data passed to the change journal receiver exit program.
Detached date and time. The date and time that this journal receiver was detached from the journal. For a journal receiver that was attached to a *REMOTE journal, this is the date and time that the journal receiver was detached on the local system. This field is in the CYYMMDDHHMMSS format as follows:
C | Century, where 0 indicates years 19xx and 1 indicates years 20xx. |
YY | Year |
MM | Month |
DD | Day |
HH | Hours |
MM | Minutes |
SS | Seconds |
Exit point format name. The format name for the change journal receiver exit program. The possible format name follows:
CRCV0100 | The format name that is used after a user journal receiver is detached. |
Exit point name. The name of the exit point that is calling the exit program.
Journal library name. The library name of the journal that is associated with the journal receiver being detached.
Journal name. The name of the journal that is associated with the journal receiver being detached.
Journal receiver library name. The library name of the journal receiver being detached.
Journal receiver name. The name of the journal receiver being detached.
Journal type. An indication of whether the journal currently associated with the journal receiver being detached is local or remote. The possible values are:
0 | *LOCAL |
1 | *REMOTE |
Remote journal type. If this journal receiver was attached to a remote journal, this field is the remote journal type for that journal, when this journal receiver was attached. The possible values are:
0 | The journal receiver was not attached to a remote journal. It was attached to a local journal. |
1 | The journal receiver was attached to a *TYPE1 remote journal. |
2 | The journal receiver was attached to a *TYPE2 remote journal. |
User profile. The exit program will be called under this user profile. If the user profile is not found at the time the exit programs are called, the QUSER user profile will be used.
[ Back to top | Journal and Commit APIs | APIs by category ]