Previous Topic: Step 1 - Create a New FileNext Topic: Step 3 - Define a Time Period


Step 2 - Add a FILE Control Statement

VMRGRW needs to know where to find the input data for the report and how the input data is formatted. Provide this information to GRW by coding a FILE control statement. The FILE control statement must be the first statement in your control file. Add this statement to your file:

FILE TMC5 VMTAPE TMC.

The first parameter in this statement, TMC, tells GRW to use the TMC data definition table. The TMC data definition table tells GRW what the data in the VMTAPE TMC looks like.

The next two parameters in this statement, VMTAPE TMC, tell GRW the filename and filetype of the input file containing the data. When looking for the minidisk containing the input file, GRW uses the standard CMS minidisk search sequence.