We are currently extracting mainframe reports from View and printing them on remote printers via Spool.
We would like to have the option of either physically printing the reports or saving them to a folder on a laptop or server.
From what I understand, both View and Spool have some "print to file" type of capabilities.
Would a solution like this require changes to both CA View and CA Spool, and what would be the best option?
Release : 14.0
Component : View
For View, below is sample SARBCH JCL that could be used to write a report to a physical-sequential dataset:
//XXXXXXXX JOB ...
//SARBCH 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=XXXX,VOL=SER=YYYYYY,
// DCB=(RECFM=VB,LRECL=32756,BLKSIZE=32760),
// SPACE=(CYL,(NNN,NNN),RLSE)
//SYSIN DD *
/LOAD ID=XXXXXXXXXXXX GEN=NNNN SEQ=NN DDNAME=RPTOUT01
/*
//
-------------------------------------------------------------------------------------------------------------
For Spool Print-to-file capability, the FTP print driver can be used to transfer several types of spool print files to a remote FTP server for further processing.
Please refer to FTP Print Driver documentation for detailed information.
The definition of the DEFNODE could be something like the following:
DEFNODE FTP1,FTP-01,TCPDRIV=FTP,
CLASS=ALL,
ACQUIRE=WORK,
RELEASE=NOWORK
NODE FTPNODE,FTP1,TCPDRIV=FTP,GROUP=1,PURGE=NO,TRANS=ASCII,
TCPHOST=10.203.64.26,TCPPORT=21,ACQUIRE=WORK,
DRIVPRM1='PATH=/SMPrints/C408',
DRIVPRM2='FILENAME=/&FNM.&DAY.&TIM.PDF',
DRIVPRM3='DSNAME=&UID.&NOD.&FNO.&TIM',
DRIVPRM4='FTPUSER=user,FTPPASS=password'