We are looking to download some reports, from View, into a DASD file.
Release : 14.0
The way to offload a View report to a physical-sequential file would be via use of SARBCH /LOAD:
//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,
//SYSIN DD *
/LOAD ID=XXXXXXXXXXXX GEN=NNNN SEQ=NN DDNAME=RPTOUT01
. SARBCH /LIST ID=... GEN=... can be used to create a list of reports either for all
the reports in the database, or a partial list, with use of wildcard matching.
. Here is a link to the View 14.0 documentation set:
. In the View CVDEOPTN library are programs SARSAM1 through SARSAMB.
It's possible that code could be extracted from a SARSAM program, to suit the purpose.
For information on SARSAM, please consult the View Programming Guide.