Using a data area named QDFTJRN, you can automatically start journaling when a non-integrated file system object (data area, data queue, or file) is created, moved, or restored into the library, thus, ensuring the very first change to the object will be recorded in the journal and that no lock on the user's part prevents journaling from starting in the library. The QDFTJRN data area must exist in the library where the object is being added.
If a data area called QDFTJRN exists 1) in the same library into which the data area, data queue, or physical file is created, or 2) in the same schema that the SQL table is created into, and 3) the user (in either instance) is authorized to the data area, journaling will be started to the journal named in the data area if all the following are true:
See the table below for a detailed description of the values within the data area.
When creating SQL tables within a schema, the QSQJRN journal within the schema is used to start journaling the tables. To start journaling the tables to a different journal than QSQJRN within the schema, create the QDFTJRN data area in the schema and specify a different journal name inside the QDFTJRN data area.
This table shows formats of the QDFTJRN data area.
Offset | Field | Format | Description |
---|---|---|---|
1 | Library name | Char (10) | Name of the library that contains the journal. |
11 | Journal name | Char (10) | Name of the journal to use to automatically start journaling. |
21 | Repeat the set of Object type and Option as needed: | ||
Object type | Char (10) | Object type value:
|
|
Option | Char (10) | Option:
|