03.03.2015 Views

CA Dynam for VSE User Guide

CA Dynam for VSE User Guide

CA Dynam for VSE User Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Reporting Commands<br />

FIELDS Command<br />

The FIELDS command specifies the fields to be included in the report and the<br />

order in which they are to appear.<br />

The <strong>for</strong>mat of the command is shown below.<br />

FIELDS {field-name [$SPn]...|$SP }<br />

Examples<br />

// JOB AUDIT REPORT CUSTOMIZED<br />

// EXEC AUDTUTIL,SIZE=128K<br />

PROGRAM DYNAM/D<br />

REPORT<br />

TITLE DSNAME 'DSN VOLUME UNIT'<br />

FIELDS DSNAME<br />

FIELDS VOLSER $SP5 UNIT<br />

FIELDS $SP<br />

FIELDS $SP<br />

SELECT (DSNAME TEST.FILE1)<br />

GENERATE<br />

REPORT<br />

TITLE DSNAME 'NAME'<br />

TITLE VOLSER 'VOLUME'<br />

TITLE UNIT 'UNIT'<br />

FIELDS DSNAME VOLSER $SP5 UNIT<br />

FIELDS $SP<br />

FIELDS $SP<br />

SELECT (DSNAME TEST.FILE1)<br />

GENERATE<br />

REPORT<br />

FIELDS DSNAME VOLSER UNIT<br />

SELECT (DSNAME TEST.FILE1)<br />

GENERATE<br />

/*<br />

/&<br />

(first report)<br />

(second report)<br />

(third report)<br />

The first report puts the data set name field on one line, volser and unit on the<br />

second. These two lines are followed by two blank lines. Volser and unit are<br />

separated by 5 spaces. The report will look like this:<br />

DSN VOLUME UNIT<br />

(title line)<br />

TEST.FILE1<br />

(data set name line)<br />

SYSWK1 0160 (volser and unit line)<br />

(blank line)<br />

(blank line)<br />

TEST.FILE1<br />

(next record)<br />

SYSWK2 0167<br />

Chapter 12: Maintaining and Reporting on the Audit Trail 12–15

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!