CA VIEW- How to keep output in spool and also send a copy to View?
search cancel

CA VIEW- How to keep output in spool and also send a copy to View?

book

Article ID: 215088

calendar_today

Updated On:

Products

View

Issue/Introduction

How to run job that creates report copy spun off for View, then report stays on the spool?

Environment

Release : 14.0

Component : CA View

Resolution

Use SARXTD by setting up PARM=',...".
PARM='index,jobclass/sysclass/archclass/archdest/archform/archmedia,'

Where
Index
Specifies the high-level index (one or more qualifiers are separated by periods with a maximum length of 17 characters) of the CA View data sets for which data set security is activated
If you do not want to activate the data set security feature, omit the index from the parameter field (note that index is positional and its absence must be indicated by coding the comma that follows).
After the data set security feature is activated, any program (other than CA View) that has not been marked in the program properties table to bypass password protection is restricted from accessing any data set whose name begins with the specified high-level index.
Where
jobclass/sysclass/archclass/archdest/archform/archmedia
Specifies a set of specifications used to select and archive reports for the automatic archival feature. You can code up to four sets of specifications in the parameter field (indicated by the ellipses). A set of specifications is comprised of six elements, each of which is separated from the next by a slash "/." The meaning of each element is described as follows:
jobclass
Specifies 1 to 8 job execution classes for which reports are automatically archived
You can specify an asterisk to indicate all job classes.
sysclass
Specifies 1 to 8 SYSOUT classes for which reports are to be automatically archived
You can specify an asterisk to indicate all SYSOUT classes.
archclass
You can use the SYSOUT class to create an additional SYSOUT data set for the report that is spun-off for archival
You can omit the element or can specify an asterisk to indicate that the default SYSOUT class (MSGCLASS for the job) is used to create the spin-off data set.
archdest
Specifies the destination used to create an additional SYSOUT data set for the report that is spun-off for archival
You can omit the element or can specify an asterisk to use the system default destination.
archform
You can use the forms name to create an additional SYSOUT data set for the report that is spun-off for archival
You can omit the element or can specify as an asterisk to use the system default forms name.
archmedia
Specifies the media used to archive the SYSOUT
Specify D to archive the SYSOUT to disk, or T to archive the SYSOUT directly to tape.
If omitted, the SYSOUT is archived to disk.

 

Notes:
Specify the same combination of archclass, archdest, and archform on the SARINIT parameter CLSL=, DEST=, and FORM= to implement automatic report archival.

 

Example
This example assumes that CA View is set to archive all SYSOUT for class S (the master index file is initialized with the parameter CLSL=S). You want to produce and archive to disk a copy of all reports written to SYSOUT classes A and B, and to produce and archive directly to tape all other reports.
The following parameter field starts the CA View system extensions:
PARM=',*/AB/S///D,*/*/S///T'