To sort the intermediate file created by the WRITE statement, add this statement to your control file:
SORT VOLSER WITHIN EXPDT.
This SORT control statement sorts the report first by the expiration date, then by the volser. The SORT statement creates another output file, which ends another processing step. You do not need to add another END STEP statement, however, because this SORT statement is not part of an IF clause.
|
Copyright © 2013 CA.
All rights reserved.
|
|