End Journal Access Path (ENDJRNAP)

Where allowed to run: All environments (*ALL)
Threadsafe: Yes
Parameters
Examples
Error messages

The End Journal Access Path (ENDJRNAP) command is used to end the journaling of the access paths of a journaled file.

All access paths currently being journaled to a specific journal may also have journaling stopped.

For other ways to end journaling see the following commands:

Restrictions:

Top

Parameters

Keyword Description Choices Notes
FILE Journaled file Single values: *ALL
Other values (up to 300 repetitions): Qualified object name
Required, Positional 1
Qualifier 1: Journaled file Name
Qualifier 2: Library Name, *LIBL, *CURLIB
JRN Journal Single values: *FILE
Other values: Qualified object name
Optional, Positional 2
Qualifier 1: Journal Name
Qualifier 2: Library Name, *LIBL, *CURLIB
LOGLVL Logging level *ERRORS, *ALL Optional
Top

Journaled file (FILE)

Specifies a maximum of 300 database files for which the journaling of access paths are to be ended.

This is a required parameter.

Single values

*ALL
All current journaling of access paths to the indicated journal are ended.

Qualifier 1: Journaled file

file-name
Specify the name and library of the database file for which access paths for the journal entry are ended.

Qualifier 2: Library

*LIBL
All libraries in the library list for the current thread are searched until the first match is found.
*CURLIB
The current library for the job is searched. If no library is specified as the current library for the job, QGPL is used.
library-name
Specify the name of the library to be searched.
Top

Journal (JRN)

Specifies the journal to which journaling of the access paths for the indicated files are being ended.

Single values

*FILE
The journal name is determined by the system from the specified file names.

Qualifier 1: Journal

journal-name
Specify the name of the journal.

Qualifier 2: Library

*LIBL
All libraries in the library list for the current thread are searched until the first match is found.
*CURLIB
The current library for the job is searched. If no library is specified as the current library for the job, QGPL is used.
library-name
Specify the name of the library to be searched.
Top

Logging level (LOGLVL)

Specifies the error logging level used. This parameter is used to determine which messages will be sent.

*ERRORS
All diagnostic and escape messages are sent but the command will not send successful completion messages for each object. At the completion of this command, one completion message will be sent.
*ALL
The command sends all the messages that would be sent with *ERRORS and it will also send the successful completion message for each object.
Top

Examples

ENDJRNAP   FILE(MYLIB/MYFILE)

This command ends the journaling for all access paths of the file MYFILE in the library MYLIB.

Top

Error messages

*ESCAPE Messages

CPF6972
Cannot allocate access path for file &1 in &2.
CPF7008
Cannot start or end access path journaling for file &1.
CPF703C
Commitment control transaction prevents journaling operation.
CPF7032
ENDJRNPF or ENDJRNAP command failed.
CPF7033
Start or end journaling failed for member &3.
CPF7034
Logical damage of file &1 in &2.
CPF705A
Operation failed due to remote journal.
CPF708D
Journal receiver found logically damaged.
CPF9801
Object &2 in library &3 not found.
CPF9802
Not authorized to object &2 in &3.
CPF9803
Cannot allocate object &2 in library &3.
CPF9812
File &1 in library &2 not found.
CPF9820
Not authorized to use library &1.
CPF9822
Not authorized to file &1 in library &2.
CPF9825
Not authorized to device &1.
CPF9830
Cannot assign library &1.
CPF9873
ASP status is preventing access to object.
CPF9875
Resources exceeded on ASP &1.
Top