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
- Overrides are not applied to the files listed in the FILE parameter.
- If FILE(*ALL) is specified, a journal name must be specified.
- If a journal name and a list of file names are specified, all files must be currently journaled to the indicated journal.
- The specified journal must be a local journal.
- In multithreaded jobs, this command is not threadsafe for distributed files and fails for distributed files that use relational databases of type *SNA.
- Lock Processing
- The physical file to end journaling is locked with a read exclusive lock (*EXCLRD). Any logical files built over the physical file are also locked with a read exclusive lock (*EXCLRD).
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.
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
Suggested / special values:
*ALLLIB
Library
Library
Suggested / special values:
*LIBL, *CURLIB
JRN
Journal
Specifies the name of the journal to which changes in the indicated files are currently being journaled.
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
Library
Library
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.
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.
Generated from os/cl/catalog/ENDJRNPF.json and os/cl/help/ENDJRNPF.json.