Where allowed to run:
|
Parameters Examples Error messages |
Use the Add CICS Journal Control Table (ADDCICSJCT) command to add an entry to the JCT.
When a file is defined in the FCT, you can specify whether or not activity on that file is to be journaled and also specify the id of the journal file. Journal files are identified by a number in the range 1 through 99. In the JCT, you define the characteristics of each journal file.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
LIB | Library | Communications name, *LIBL, *CURLIB | Required, Positional 1 |
GROUP | Group | Communications name | Required, Positional 2 |
JFILE | Number | 1-99 | Required, Positional 3 |
JRNSTS | Status | *ENABLED, *DISABLED | Optional, Positional 4 |
JRNSWT | Automatic switching | *YES, *NO | Optional, Positional 5 |
JRNLIB | Journal Library | Name | Optional, Positional 6 |
RECLMT | Record capacity | 1-99999, 1 | Optional, Positional 7 |
NEWJRN | Switch journal at startup | *NO, *YES | Optional, Positional 8 |
USRJOB | Submit user job when switched | Name, *NONE | Optional, Positional 9 |
SBMUSRJOB | Submit user job at shutdown | *NO, *YES | Optional, Positional 10 |
JRNFILE | File | Qualified object name | Optional, Positional 11 |
Qualifier 1: File | Name | ||
Qualifier 2: Journal Library | Name, *LIBL, *CURLIB | ||
JRNMBR | Member | Name, *FIRST | Optional, Positional 12 |
Top |
Enter the name of the OS/400 library that contains the group. Possible values are:
Top |
Enter the name of the group to which this JCT entry is to be added.
Top |
Enter the user journal number. This user journal can also be used for automatic journaling of file activity. The number is also used to identify this JCT entry.
Top |
Indicates whether or not the journal number can be used.
Possible values are:
Top |
Indicates whether or not the journal can be switched automatically, when it is full, to the next file generation
Possible values are:
Top |
The iSeries library name that will contain the journal. This field is valid only when the JRNSWT field contains *YES.
Note: The iSeries file name that is used will be generated by the CICS control region. The iSeries file name is composed of the mask: AEGJCnnxxx where nn is the journal number and xxx is the generation number.
Top |
The number of records accumulated in order to switch to the next generation of the journal. This field is valid only when the JRNSWT field contains *YES.
Possible values are:
Top |
Indicates whether or not the journal will be switched to the next generation when the CICS control region is started. This field is valid only when the JRNSWT field contains *YES.
Possible values are:
Top |
The iSeries program that is submitted via the SBMUSRJOB CL command when the journal is switched. This field is valid only when the JRNSWT field contains *YES.
Note: This iSeries submitted program will not accept any parameters and the program object must exist in the library list associated with the CICS control region.
Possible values are:
Top |
Indicates if the iSeries job will be submitted when the CICS control region ends. This is not valid when the USRJOB field contains *NONE.
Possible values are:
Top |
The name of the file that will be utilized by the journal number. This field is valid only when the JRNSWT field contains *NO.
Possible library values are:
journal-name: Specify the name of the file.
Top |
The name of the member in the file that will be utilized by the journal number. This field is valid only when the JRNSWT field contains *NO.
Possible values are:
Top |
Top |
Top |