Author: Abhi Nature
Subject: Easytrieve - Report writing - Only 1 REPORT para executing.
Posted: Wed Sep 14, 2016 11:40 am (GMT 5.5)
Hello!
I am writing a report using REPORT writing functionality of easytrieve.
1) One output file, multiple REPORT paragraphs
REPORT REPORT1 PRINTER OUTPUTF1 <other parameters>
LINE 01 <VARIABLES>
REPORT REPORT2 PRINTER OUTPUTF1 <other parameters>
LINE 01 <OTHER VARIABLES>
REPORT REPORT3 PRINTER OUTPUTF1 <other parameters>
LINE 01 <SOME OTHER VARIABLES>
Above REPORT paragraphs are printed on different conditions to a same output file.
The problem is, OUTPUTF1 has records from only first REPORT paragraph. In above case records from only REPORT1 are printed to OUTPUTF1. If REPORT2 paragraph is moved above REPORT1 then records from only REPORT2 are printed to OUTPUTF1.
Thanks!
Subject: Easytrieve - Report writing - Only 1 REPORT para executing.
Posted: Wed Sep 14, 2016 11:40 am (GMT 5.5)
Hello!
I am writing a report using REPORT writing functionality of easytrieve.
1) One output file, multiple REPORT paragraphs
REPORT REPORT1 PRINTER OUTPUTF1 <other parameters>
LINE 01 <VARIABLES>
REPORT REPORT2 PRINTER OUTPUTF1 <other parameters>
LINE 01 <OTHER VARIABLES>
REPORT REPORT3 PRINTER OUTPUTF1 <other parameters>
LINE 01 <SOME OTHER VARIABLES>
Above REPORT paragraphs are printed on different conditions to a same output file.
The problem is, OUTPUTF1 has records from only first REPORT paragraph. In above case records from only REPORT1 are printed to OUTPUTF1. If REPORT2 paragraph is moved above REPORT1 then records from only REPORT2 are printed to OUTPUTF1.
Thanks!