Generating MainView batch reports JCL
Before generating your JCL report, the system needs some specific information.
In the MainView Batch Reports panel, on the Option line, type 1. The Generate MainView Batch Reports JCL panel is displayed, as shown in the following table.
--------------------- Generate MainView Batch Reports JCL ---------------------
Command ===>
JCL Member name ===> JOBNAME Replace (Y/N)? YES
JCL Member Description ===> Description <===
Report format: ===> ASIS (ASIS or CSV)
Lines/Page: ===> 60 (ASIS format only)
Sysout Class ===>
Or
Output data set ===> EXPORT.LST
Volume ===> (If data set uncatalogued)
Enter Queries on the lines below. Each line will write a separate
report to the output data set.
Press END to save changes and generate the JCL
Type CANCEL to return to the previous panel without saving changes
More: +
===> TIME LASTWEEKDAY 23:59 1D;JSRM
===> TIME *-7;JCPU
===> JOVER
===> SYSOVER
===>The Generate MainView Batch Reports JCL panel displays fields for recording the information and the queries necessary for your JCL.
Type the input information, output information, and queries you need for your report. The fields are listed in the following table.
Field name
Description
JCL Member name
name of this JCL member
Each JCL report can be given a member name and a description.
JCL Member Description
( optional ) description of the report
Report format
ASIS or CSV format
Enter ASIS to print reports that look like the screens. Enter CSV for comma-separated fields to download the record to a spreadsheet program.
Lines/Page
- For ASIS reports, the heading will be printed on each page.
- For a continuous report with the heading on the first page only, enter 0.
Sysout Class
for entering report SYSOUT class
Output data set
for entering a sequential data set or partitioned data set with a member name for report output
If the data set is not catalogued, supply the volser. Entering a SYSOUT class overrides the data set specification.
Queries
kinds of data that you want to see
Enter queries exactly as you would on the COMMAND line in an online session. For example:
- JOVER prints the JOVER view.
- JOVER;FORM JSRM prints JOVER with the JSRM FORM.
- JOVER on the first line followed by FORM JSRM on the second line prints the JOVER report first, followed by the JOVER report under the JSRM FORM.
To establish a time frame and duration different from the current time, combine that different time frame and duration with the first command:
TIME LASTWEEKDAY 23:59 1D;JOVER
Through the use of one-per-line commands, additional reports of data can be created from the same time frame.
- Press the End key to save changes and generate the JCL.The JCL will be presented in an edit session. You will probably not need to make changes to it.
- To submit the job, on the COMMAND line, type SUB.
- Press Enter.Or, to cancel and return to the MainView Batch Reports panel without saving changes, type CANCEL.
Related topic