The WRITE statement shown in Step 5 marks the end of a processing step. A processing step ends whenever a control statement causes GRW to produce an intermediate output file. Three control statements do this: WRITE, SUMMARIZE, and SORT.
Because the WRITE statement is not executed for every input file record, you must tell GRW explicitly that the step has completed. To assure that GRW functions occur in the proper order, add this statement to the control file:
END STEP.
|
Copyright © 2013 CA.
All rights reserved.
|
|