CA View - How to Print a Report to a Dataset

book

Article ID: 208917

calendar_today

Updated On:

Products

CA View

Issue/Introduction

Assistance is needed with printing a View report to a dataset.

Environment

Release : 14.0

Component : CA View

Resolution

Printing can be done to a dataset using the following:

 . Apply View 14.0 PTF SO10330 to the environment. 

 . Set SARINIT parameter PRTDSN=YES.

If the PTF is not on, the following SARBCH JCL can be used:

//XXXXXXXX JOB ...
//SARBCH01 EXEC PGM=SARBCH,PARM='view_hlq'    <=== Modify DB name
//STEPLIB  DD  DISP=SHR,DSN=VIEW.CVDELOAD    <=== Modify, if used       
//SYSPRINT DD  SYSOUT=*                                         
//REPORT   DD  SYSOUT=*                                         
//RPTOUT01 DD  DSN=xxxxxx.xxxxxx.RPTOUT01,
//             DISP=(,CATLG,DELETE),                           
//             UNIT=3390,VOL=SER=xxxxxx,                       
//             SPACE=(CYL,(nn,nn),RLSE),                          
//             DCB=(RECFM=FB,LRECL=133,BLKSIZE=1330)           
//SYSIN    DD   * 
/PRINT ID=xxxxxxxxxxxx DDNAME=RPTOUT01 GEN=nnnnn SEQ=nnnnn
/*
//    

In this instance, the client opted to use the SARBCH JCL.