Skip to content

Commit

Permalink
more updates to readme - added doc about SMF84OUT dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
kewlgrapes committed Mar 19, 2018
1 parent e91c529 commit 7018e01
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions SMF-Tools/SMF84Formatter/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ This tool can be used to format SMF 84 subtype 21 records into a CSV or JSON fil
1. Ensure the JOB card meets standards for your installation.
2. Set the `STEPLIB` JCL symbol to the library containing the `SMF84FMT` executable.
3. Set the `SMF84IN` variable to the catalogued dataset containing the SMF 84.21 records to be formatted. Non-SMF 84.21 records will be ignored.
4. If desired, set the desired options on `PARM=` to control which parts of the SMF 84.21 record are to be formatted and to set the desired output format (CSV or JSON).
4. By default, the CSV/JSON formatted records will be output to a SYSOUT dataset. If this is not desired, modify the SMF84OUT DD accordingly. The SMF84OUT datset must be a sequential dataset (DSORG=PS) with variable-sized, blocked records (RECFM=VB).
5. If desired, set the desired options on `PARM=` to control which parts of the SMF 84.21 record are to be formatted and to set the desired output format (CSV or JSON).
```
//SMF84FMT JOB MSGLEVEL=(1,1),NOTIFY=&SYSUID
...
Expand All @@ -52,7 +53,7 @@ This tool can be used to format SMF 84 subtype 21 records into a CSV or JSON fil
//*------------------------------------------------------------------*/
...
```
5. Submit the SMF84FMT job. Examine the contents of FORMAT.SYSPRINT if the job finishes with a return code other than 0.
5. Submit the SMF84FMT job. Examine the contents of FORMAT.SYSPRINT if the job finishes with a return code other than 0. The formatted SMF records will be written to the SMF84OUT DD, which by default is a SYSOUT dataset on SPOOL.

### Supported Parameters
Parameters are specified as words on the `PARM=` on the `SMF84FMT` step. If no parameters are specified, the following defaults are used: `HEADER MEMORY RESOURCE CSV`
Expand Down

0 comments on commit 7018e01

Please sign in to comment.