Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Remove Remote Journal (RMVRMTJRN) command disassociates a remote journal on the specified target system from the specified journal on the source system. The journal on the source system may be either a local journal or another remote journal.
The remote journal, and any associated journal receivers, are not deleted from the target system by the command processing. No processing is performed on the target system for the command. The remote journal that remains on the target system may later be added back to the remote journal definition for the journal on the source system by using the Add Remote Journal (ADDRMTJRN) command or the Add Remote Journal (QjoAddRemoteJournal) API.
It is the responsibility of the user to delete the remote journal and any associated journal receivers from the target system, if so desired.
Once a remote journal association has been removed from a journal, all of the journal receivers that are currently in the journal's receiver directory on the source system will no longer be protected from deletion even if the journal entries have not yet been replicated to the remote journal.
Restrictions:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
RDB | Relational database | Name | Required, Positional 1 |
SRCJRN | Source journal | Qualified object name | Required, Positional 2 |
Qualifier 1: Source journal | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
TGTJRN | Target journal | Single values: *SRCJRN Other values: Qualified object name |
Optional |
Qualifier 1: Target journal | Name | ||
Qualifier 2: Library | Name |
Top |
The name of the relational database directory entry that contains the remote location name of the target system.
This is a required parameter.
Top |
Specifies the journal on the source system from which the remote journal is being removed. The journal on the source system may be either a local journal or a remote journal.
This is a required parameter.
Qualifier 1: Source journal
Qualifier 2: Library
The name of the source journal can be qualified by one of the following library values:
Top |
Specifies the remote journal on the target system.
Single values
Qualifier 1: Target journal
Qualifier 2: Library
Top |
Example 1: Removing a Remote Journal Whose Name is the Same as the Source Journal.
RMVRMTJRN SRCJRN(RMTLIB/JOURNAL) RDB(CHICAGO) TGTJRN(*SRCJRN)
This command removes remote journal JOURNAL in library RMTLIB identified by relational database directory entry, CHICAGO, from the source journal JOURNAL in library RMTLIB.
Top |
*ESCAPE Messages
Top |