The Change QDFTJRN Data Area command creates and/or changes the
QDFTJRN data area in a named library. The QDFTJRN data area is used
by the system to automatically start journaling for objects intended
for remote journaling. Using CHGQDFTJRN simplifies entering data
into the required data area.
A typical command would be:
CHGQDFTJRN LIB(xxx)
If the QDFTJRN *DTAARA object does not exist in the named library, a
prompt appears to name the journal and journal library that should be
used for all newly created objects in the library. The data area
would be created.
An option exists to cause journaling of the QDFTJRN *DTAARA to the
named journal. This is an important function because if a remote
system is switched to and new objects added, it is critical that the
new objects be journaled.
If the data area already exists, a prompt appears for the CHGQDFTJR2
command with the existing values from the data area. CHGQDFTJR2 may
only be used as a sub function of CHGQDFTJRN.
Options exist to specify *FILE, *DTAARA, or *DTAQ objects and whether
journaling should be started for all functions, or just create, move,
or restore operations.
CHGQDFTJRN escape messages you can monitor for
----------------------------------------------
None. Escape messages from based on functions will be re-sent.
CHGQDFTJRN Command parameters *CMD
-----------------------------
LIB The library where the QDFTJRN data area should
exist. If it does not exist, it will be created.
Prompts will appear for the journal and whether the
QDFTJRN data area should be journaled to the same
journal.
After creating the data area or if it exists,
prompts will appear with the existing options
specified in the data area.
CHGQDFTJR2 Command parameters *CMD
-----------------------------
DTAARALIB The library where the QDFTJRN data area exists.
JRN The fully qualified name of the journal where the
QDFTJRN data area will be journaled to. The library
defaults to *LIBL. A specific library or *CURLIB
may be entered.
OBJTYPE A list of object types and an option for the type of
processing that will cause a journal entry.
The object type may be *ALL, *FILE, *DTAQ, or
*DTAARA.
The option for the type of processing may be
*ALLOPR, *CREATE, *MOVE, or *RESTORE.
Restrictions
------------
You must have *CHANGE authority to the journal to be used.
Prerequisites
-------------
The following TAA Tools must be on your system:
CHKOBJ3 Check object 3
PMTOPR Prompt operator
RSNLSTMSG Resend last message
RTVOBJJRNA Retrieve object journal attributes
SNDCOMPMSG Send completion message
SNDESCINF Send escape information
SNDESCMSG Send escape message
Implementation
--------------
None, the tool is ready to use.
Objects used by the tool
------------------------
Object Type Attribute Src member Src file
------ ---- --------- ---------- ----------
CHGQDFTJRN *CMD TAAJROM QATTCMD
CHGQDFTJR2 *CMD TAAJROM2 QATTCMD
TAAJROMC *PGM CLP TAAJROMC QATTCL
TAAJROMC2 *PGM CLP TAAJROMC2 QATTCL
TAAJROMD *FILE DSPF TAAJROMD QATTDDS
CHGQDFTJR2 is an internal command which is prompted for by
CHGQDFTJRN.
Structure
---------
CHGQDFTJRN Cmd
TAAJROMC CL pgm
TAAJROMD Dsp file
CHGQDFTJR2 Cmd
TAAJROMC2 CL pgm
|