Where allowed to run: All environments (*ALL) Threadsafe: Yes |
Parameters Examples Error messages |
The Start Journal Access Path (STRJRNAP) command is used to start journaling the access paths for all members of a database file to a specified journal. Any new member that is later added to the file also has its access path journaled.
If a physical file is specified, journaling can be started for its access paths. When access path journaling is started for a physical file, only the access paths for the physical file members are journaled. Journaling for any logical file access paths is started only when access path journaling is started for the logical file.
The journal entries created after running this command cannot be used in any apply or remove journaled changes operation. These entries are used only to recover the access path without rebuilding it after an abnormal system operation ending.
If you start journaling your access paths, consider specifying RCVSIZOPT(*RMVINTENT) on either the Create Journal (CRTJRN) or the Change Journal (CHGJRN) command for this journal. This will reduce the additional storage required to do access path journaling.
If you do not want the overhead of managing the access path journaling yourself, consider taking advantage of the system-managed access-path protection support. For more information, see the Journal Management information in the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter, and the Edit Recovery for Access Paths (EDTRCYAP) or the Change Recovery for Access Paths (CHGRCYAP) command.
For other ways to start journaling see the following commands:
Restrictions:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
FILE | Journaled file | Values (up to 50 repetitions): Qualified object name | Required, Positional 1 |
Qualifier 1: Journaled file | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
JRN | Journal | Qualified object name | Required, Positional 2 |
Qualifier 1: Journal | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB |
Top |
Specifies a maximum of 50 database files whose access paths are journaled.
This is a required parameter.
Qualifier 1: Journaled file
Qualifier 2: Library
Top |
Specifies the journal that receives the file change journal entries.
This is a required parameter.
Qualifier 1: Journal
Qualifier 2: Library
Top |
STRJRNAP FILE(MYFILE) JRN(MYLIB/JRNLA)
This command journals all access paths for all members in file MYFILE (found using the library search list) to journal JRNLA in library MYLIB.
Top |
*ESCAPE Messages
Top |