Using the Collect.bat procedure

The Collect.bat procedure performs the complete SMF data collection as well as the download to the workstation. That is, it submits the job on the host and downloads the resulting Postprocessor output (Report Listing or Overview Record) to the workstation. Collect.bat contains the same variables as Jclgen.bat, plus the following ones:

Table 1. Additional variables in Collect.bat
Variable Meaning Examples
log specifies the file containing messages from the JES subsystem. set log=%workpath%\jes.joblog
ppfile specifies the file containing the Postprocessor output after the download to the workstation (either a Report Listing or Overview Records). This file is input either to CreateRptWset.bat (with parameter listing) or to CreateOvwWset.bat (with parameter ovwrec). set ppfile=%workpath%\sysname.date.time.ppdata
msg specifies the file containing messages from the Postprocessor. set msg=%workpath%\rmfpp.msg
passive specifies the FTP connection type used by the Spreadsheet Reporter. For a passive FTP connection, specify -p. The default is an active FTP connection. set passive=-p
ssl specifies the FTP security mode. To use an FTP with SSL encryption, specify -s. The default is an FTP without explicit security. set ssl=-s

Invocation: collect hostname password type

where:

hostname
is the name of the host where you want to connect to
password
is the password for the TSO user specified with variable user
type
specifies the type of Postprocessor output: use -r if you want to collect data for a Report Listing or -o for an Overview Record.

Example: To produce a Report Listing, use the following command:

collect myhost mypasswd -r

If FTP errors occurred during file transmission, the corresponding messages are written into the file …\Work\ftp.log in the installation directory.