I need to make a change to an old cobol report that made use of 'Report Writer' the RD looks like this:<br>
<br>
RD REPORT-OUT<br>
CONTROLS FINAL, W-IWR-WARE, W-IWR-ITEM,<br>
PAGE 66 LINES,<br>
FIRST DETAIL 6<br>
LAST DETAIL 63.<br>
<br>
I need to modify the program to print either the report shown, or a new report, sorted by ITEM, then WARE, based on a run-time switch:<br>
<br>
RD REPORT-OUT-2<br>
CONTROLS FINAL, W-IWR-ITEM, W-IWR-WARE,<br>
PAGE 66 LINES,<br>
FIRST DETAIL 6<br>
LAST DETAIL 63.<br>
<br>
My question is, how do I do this without repeating all of 01 and TYPE clauses, etc? Can I point both of these RD's to the same report definition?<br>
<br>
Much Thanks to anyone who can help!
<br>
RD REPORT-OUT<br>
CONTROLS FINAL, W-IWR-WARE, W-IWR-ITEM,<br>
PAGE 66 LINES,<br>
FIRST DETAIL 6<br>
LAST DETAIL 63.<br>
<br>
I need to modify the program to print either the report shown, or a new report, sorted by ITEM, then WARE, based on a run-time switch:<br>
<br>
RD REPORT-OUT-2<br>
CONTROLS FINAL, W-IWR-ITEM, W-IWR-WARE,<br>
PAGE 66 LINES,<br>
FIRST DETAIL 6<br>
LAST DETAIL 63.<br>
<br>
My question is, how do I do this without repeating all of 01 and TYPE clauses, etc? Can I point both of these RD's to the same report definition?<br>
<br>
Much Thanks to anyone who can help!