Command reference / db

ENDJRNPF

End Journal Physical File

The End Journal Physical File (ENDJRNPF) command is used to end journaling of changes for a specific physical file and all of its members. All physical files currently being journaled to a specific journal may also have journaling stopped. When the file for which journaling is ended is a distributed file, an attempt is made to distribute the ENDJRNPF command if journaling was successfully ended locally. Even if the distribution request fails, the local file is not journaled. In addition, if a journal and file name are specified, and the file is distributed, an attempt to distribute the ENDJRNPF request is made even if the file is not journaled locally. For other ways to end journaling see the following commands: Access paths - End Journal Access Path (ENDJRNAP) Integrated file system objects - End Journal (ENDJRN) Libraries - End Journal Library (ENDJRNLIB) Other objects - End Journal Object (ENDJRNOBJ)

Allowed environments: *ALL. Positional parameters: 2.

Restrictions

Parameters

FILE Journaled physical file

Specifies a maximum of 300 physical files for which changes will no longer be journaled. This is a required parameter.

Type
*QUAL
Required
Yes
List limit
300
Case
Uppercase

Suggested / special values: *ALL

*ALL
All physical files currently being journaled to the specified journal no longer have their changes journaled.
*ALLLIB
All physical files in the specified library will no longer have their changes journaled.
generic-name
Specify the generic name of the physical file for which changes will no longer be journaled. A generic name is a character string that contains one or more characters followed by an asterisk (*). If a generic name is specified, all physical files that have names with the same prefix as the generic name will no longer have their changes journaled.
file-name
Specify the name of the physical file for which changes will no longer be journaled.
*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.
Qualified parts (object, then library; write LIBRARY/OBJECT)

Journaled physical file Journaled physical file

Type
*GENERIC
Required
No
Length
10
Case
Uppercase

Suggested / special values: *ALLLIB

Library Library

Type
*NAME
Required
No
Default
*LIBL
Length
10
Case
Uppercase

Suggested / special values: *LIBL, *CURLIB

JRN Journal

Specifies the name of the journal to which changes in the indicated files are currently being journaled.

Type
*QUAL
Required
No
Default
*FILE
Case
Uppercase

Suggested / special values: *FILE

*FILE
The journal is determined by the system from the specified file names.
journal-name
Specify the name of the journal to which changes in the specified files are currently being journaled.
*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.
Qualified parts (object, then library; write LIBRARY/OBJECT)

Journal Journal

Type
*NAME
Required
No
Length
10
Case
Uppercase

Library Library

Type
*NAME
Required
No
Default
*LIBL
Length
10
Case
Uppercase

Suggested / special values: *LIBL, *CURLIB

LOGLVL Logging level

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

Type
*CHAR
Required
No
Default
*ERRORS
Length
7
Case
Uppercase

Allowed values: *ERRORS, *ALL

*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.

Examples

ENDJRNPF FILE(MYLIB/MYFILE)

This command stops the journaling of all changes to all members of file MYFILE in library MYLIB. Changes made after this command is run are not journaled.

IBM command documentation

Generated from os/cl/catalog/ENDJRNPF.json and os/cl/help/ENDJRNPF.json.