Delete Journal Receiver Exit Program


  Required Parameter Group:


  QSYSINC Member Name: EDLTRCV1

  Exit Point Name: QIBM_QJO_DLT_JRNRCV

  Exit Point Format Names: DRCV0100

The Delete Journal Receiver exit program is called when a journal receiver is to be deleted.

When a journal receiver is to be deleted, the operating system calls the user-written exit programs through the registration facility. The exit programs will be called before the journal receiver is actually deleted and can indicate whether the exit program considers the receiver eligible for deletion.

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.

Note: If the Delete Journal Receiver exit program returns any error messages, the journal receiver will not be considered eligible for deletion.


Restrictions


Authorities and Locks

User Profile Authority
*ALLOBJ and *SECADM to add exit programs to the registration facility
*ALLOBJ and *SECADM to remove exit programs from the registration facility

Program Data

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.



Required Parameter Group

Delete journal receiver exit information
INPUT; CHAR(*)

Information that is needed by the exit program for notification of any journal receiver deletions. For details, see Format of Delete Journal Receiver Exit Information.

Status information
OUTPUT; CHAR(*)

Information that is returned by the exit program stating whether the deletion can occur or not. For details, see Format of Status Information.


Format of Delete Journal Receiver Exit Information

The following table shows the structure of the delete journal receiver exit information for exit point format DRCV0100. For a description of the fields in this format, see Field Descriptions.



Format of Status Information

The following table shows the structure of the status information. For a description of the fields in this format, see Field Descriptions.


Field Descriptions

Called by system job. Whether this call was from a user job or a system job. The possible values are:

Called during IPL or vary on of an independent ASP. Whether this call was during an IPL or during the vary on of an independent ASP. The possible values are:

Called during process end. Whether this call was during process end. The possible values are:

Delete journal receiver exit information length. The length in bytes of all data passed to the delete journal receiver exit program.

Delete status. The status value that indicates whether the exit program considers the journal receiver eligible for deletion. The possible values are:

Note: If any other value is specified for this item, it will be ignored, and the journal receiver will not be eligible for deletion.

Delete status information length. The length in bytes of all data returned from the Delete Journal Receiver exit program. The only valid value for this field is 5. If anything else is entered, the receiver is not considered eligible for deletion.

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:

If the journal receiver was never attached to a journal, this field will be blank. If the journal receiver was never detached from a journal, or if this journal receiver is a partial receiver, this field will be all zeros.

Exit point format name. The format name for the delete journal receiver exit program. The possible format name follows:

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 library being deleted. If there is no journal associated with this journal receiver, this field will be blank.

Journal name. The name of the journal that is associated with the journal receiver being deleted. If there is no journal associated with this journal receiver, this field will be blank.

Journal receiver library name. The name of the journal receiver library being deleted.

Journal receiver name. The name of the journal receiver being deleted.

Journal type. An indication of whether the journal currently associated with the journal receiver being deleted is local or remote. The possible values are:

Partial status. An indication of whether the journal receiver is a partial receiver. A journal receiver is partial for one of the following reasons:

The possible values are:

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:

Save status. An indication of whether the journal receiver has been saved after it was detached. The possible values are:

User profile. The exit program will be called under this user profile. If the user profile is not valid at the time the exit programs are called, the QUSER user profile will be used.


IPL Processing Guidelines

The following operations may be performed during the IPL. If any other actions take place, the Delete Journal Receiver exit program may not run successfully or the results will be unpredictable.

Some examples of things your exit program might not be able to do during IPL are:



Exit program introduced: V4R2

[ Back to top | Journal and Commit APIs | APIs by category ]