Journaling can be enabled by any of the following methods:
autoJournal function of SQDR Plus: see autoJournal
Start Journal Physical File (STRJRNPF) CL command
create and populate a data area named QDFTJRN in the library
Start Journal Library (STRJRNLIB) CL command (v6r1 and later)
The latter two methods affect only new files created in the library; refer to the IBM i documentation for details.
Use DSPOBJD or DSPFD to determine whether a database file is currently being journaled:
DSPOBJD OBJ(MYLIB.MYFILE) OBJTYPE(*FILE) DETAIL(*FULL)
Examine the output for:
File is currently journaled . . . . . . . . : Yes
Current or last journal . . . . . . . . . . : QSQJRN