Previous Topic

Next Topic

Book Contents

Book Index

Example for CTBJAFCP

Figure 68 CTBJAFCP – Example

// EXEC CTBJAFCP,FILE=ALL,DBJAFI=JAF,DBREPI=REP,DBJAFO=JAFNEW,DBREPO=REPNEW

// SYSIN  DD *

INCLUDE JOB2*

EXCLUDE JOB22

EXCLUDE JOB23*

//

To copy the files, perform the following steps:

  1. Allocate a new set of Rule Activity and Report files using the CTBCRDF utility.
  2. Copy the existing files, or a portion of these files (for example, only relatively new invocations), into the new files using the CTBJAFCP utility.
  3. Delete the old files.
  4. Rename the new files to the names of the original files.

    For additional information, see sample member JOBJAFCP in the JCL library.

Parent Topic

CTBJAFCP – Copies Entries in Rule Activity or Report Files