Change CICS JCT Entry (CHGCICSJCT)

Where allowed to run:
  • Batch job (*BATCH)
  • Interactive job (*INTERACT)
  • Batch program (*BPGM)
  • Interactive program (*IPGM)
  • Batch REXX procedure (*BREXX)
  • Interactive REXX procedure (*IREXX)
  • Using QCMDEXEC, QCAEXEC, or QCAPCMD API (*EXEC)
Threadsafe: No
Parameters
Examples
Error messages

Use the Change CICS Journal Control Table (CHGCICSJCT) command to change a JCT entry.

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

Parameters

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 *SAME, *ENABLED, *DISABLED Optional, Positional 4
JRNSWT Automatic switching *SAME, *YES, *NO Optional, Positional 5
JRNLIB Journal Library Name, *SAME Optional, Positional 6
RECLMT Record capacity 0-99999, *SAME Optional, Positional 7
NEWJRN Switch journal at startup *SAME, *NO, *YES Optional, Positional 8
USRJOB Submit user job when switched Name, *SAME, *NONE Optional, Positional 9
SBMUSRJOB Submit user job at shutdown *SAME, *NO, *YES Optional, Positional 10
JRNFILE File Qualified object name Optional, Positional 11
Qualifier 1: File Name, *SAME
Qualifier 2: Journal Library Name, *SAME, *LIBL, *CURLIB
JRNMBR Member Name, *SAME, *FIRST Optional, Positional 12
Top

Library (LIB)

Enter the name of the OS/400 library that contains the group. Possible values are:

Top

Group (GROUP)

Enter the name of the group containing the JCT entry to be changed.

Top

Number (JFILE)

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

Status (JRNSTS)

Indicates whether or not the journal number can be used.

Possible values are:

Top

Automatic switching (JRNSWT)

Indicates whether or not the journal can be switched automatically, when it is full, to the next file generation

Possible values are:

Top

Journal Library (JRNLIB)

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.

Possible values are:

Top

Record capacity (RECLMT)

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

Switch journal at startup (NEWJRN)

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

Submit user job when switched (USRJOB)

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

Submit user job at shutdown (SBMUSRJOB)

Indicates whether or not 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

File (JRNFILE)

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:

Possible file name values are:

Top

Member (JRNMBR)

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

Examples

None
Top

Error messages

Unknown
Top