Previous Topic

Next Topic

Book Contents

Book Index

CTVJAR EXEC Statement

The EXEC statement can contain the following parameters:

Table 299 CTVJAR EXEC Parameters

Parameter

Description

MODE

Determines whether the CTVJAR utility is run in Production or Simulation mode. Optional. You should run this utility in Simulation mode before running it in Production mode.

  • PROD – The utility runs in Production mode, consolidating reports and creating the JOBNAME report. Default.
  • TEST – The utility runs in Simulation mode, producing a SYSOUT that indicates the operations that are performed in Production mode.

The following parameters are passed to the utility using DD statement SYSIN:

Table 300 CTVJAR SYSIN Parameters

Parameter

Description

PREFIX

Prefix of the CDAMs that are to be consolidated.

FODATE

The earliest order date from when the reports are selected for consolidation. Optional.

The date can be specified in the format DD/MM/YY, MM/DD/YY, or YY/MM/DD, depending on the site standard defined in the IOAPARM member.

The parameter can also be specified in the format -N, where N is the number of days (0 to 99999) preceding the current date.

TODATE

The latest order date until when the reports are selected for consolidation. Optional.

The date can be specified in the format DD/MM/YY, MM/DD/YY, or YY/MM/DD, depending on the site standard defined in the IOAPARM member.

The parameter can also be specified in the format -N, where N is the number of days (0 to 99999) preceding the current date.

Note: If both FODATE and TODATE are not specified, all reports in the Active User Report List file that were created until yesterday are consolidated. If only one of these parameters is specified, reports with this ODATE are consolidated. If both FODATE and TODATE are specified, reports whose ODATE is within the specified range are consolidated.

REPNAME

Name of the newly created report. If blanks or apostrophes are included in the report name, they must be specified between apostrophes and the apostrophes of the report name must be doubled.

USER

User name for the new reports to be created by the utility.

Either an explicit user name, which appears in the recipient tree, or a variable %%USER can be specified in this field.

If %%USER is specified, a new consolidated report is created for each user name that appears in the original reports picked up for consolidation.

MIGMIS

Migration mission name for the new report.

BKPMIS

Backup mission names for the new report. Up to 6 names can be specified within brackets separated by a comma.

PRTMIS

Print mission names for the new report. Up to 5 names can be specified within brackets separated by a comma.

SYNC

Indicates whether or not to synchronize with decollation. Optional. Valid values are:

  • YES – Synchronize with decollation. Accumulation of jobs into a currently open CDAM is stopped and a new CDAM is opened.
  • NO – Do not synchronize with decollation. Jobs of currently opened CDAM files are not consolidated. Default.

Figure 110 CTVJAR – Example

//CTVJAR   EXEC PGM=CTVJAR,PARM='PROD'           

//STEPLIB  DD DSN=IOAP.V600.LOAD,DISP=SHR         

//DATRACE  DD SYSOUT=*,HOLD=YES                   

//ERRLOG   DD SYSOUT=*,HOLD=YES                   

//DALOG    DD DISP=SHR,DSN=IOAP.V600.LOG          

//DATREE   DD DISP=SHR,DSN=CTDP.V60.PARM(CTDTREE)

//SYSPRINT DD SYSOUT=*,HOLD=YES                   

//SORTIN   DD UNIT=SYSALLDA,SPACE=(CYL,(20,40))   

//SORTOUT  DD UNIT=SYSALLDA,SPACE=(CYL,(20,40))   

//SORTWK01 DD UNIT=SYSALLDA,SPACE=(CYL,(20,40))   

//SYSOUT   DD SYSOUT=*,HOLD=YES                   

//DAACT    DD DISP=SHR,DSN=CTDP.V600.ACT.E000     

//DAACTI   DD DISP=SHR,DSN=CTDP.V600.ACTI.E000    

//SYSIN    DD *                                   

REPNAME='MANAGEMENT REPORTS'   USER=MGT           

PREFIX=CTDP.E3  BKPMIS=(BKP1,BKP2,BKP3) MIGMIS=MIGDASD

PRTMIS=(PRT1,PRT22,PRT56)

//SYSUDUMP DD SYSOUT=*,HOLD=YES

//                                                            

Parent Topic

CTVJAR – Job Archiving Utility