The CA View SARSAM Module is not Re-Entrant
search cancel

The CA View SARSAM Module is not Re-Entrant

book

Article ID: 6632

calendar_today

Updated On:

Products

Deliver View

Issue/Introduction

The client uses a REXX utility to download reports from a CA View database to mainframe DASD, with the SARSAM module being invoked for each report.

This presents memory problems, as the SARSAM module is not re-entrant (NO-RENT).

The client would like alternatives.

 

Environment

CA View - All Releases

Resolution

 . The client decided to use ADDRESS ATTACHMVS, when invoking the SARSAM program, and with that memory was freed.

 . It was suggested that the client use View module SARSAMRX, to do the processing.

   Here is a link to the source for that module: xxxxxxxxxx

 

 . SARBCH /LOAD can be used to download a View 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=xxxxxx, 

// DCB=(RECFM=xx,LRECL=nnnnn,BLKSIZE=nnnnn), 

// SPACE=(CYL,(nn,nn),RLSE) 

//RPTOUT02 DD DSN=xxxxxx.xxxxxx.RPTOUT02, 

// DISP=(,CATLG,DELETE), 

// UNIT=xxxx,VOL=SER=xxxxxx, 

// DCB=(RECFM=xx,LRECL=nnnnn,BLKSIZE=nnnnn), 

// SPACE=(CYL,(nn,nn),RLSE) 

//SYSIN DD * 

/LOAD ID=xxxxxxxxxx GEN=nnnn SEQ=nnnn DDNAME=RPTOUT01

/LOAD ID=xxxxxxxxxx GEN=nnnn SEQ=nnnn DDNAME=RPTOUT02

/* 

// 

Note: Using the template above, many more reports can be added (each with its own DD).