CL Command Reference - ENDJRNPF
CL Command List > ENDJRNPF Reference
Description:
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)
. Other objects - End Journal Object (ENDJRNOBJ)
Restrictions:
. Members in the files specified on the command cannot be in use for any reason at the time the command is running.
. 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.
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.