Report in PL/I
Posted: Thu Apr 05, 2012 7:36 pm
hi all,
i took some programs examples to helps me to code a program that prints a report...
so, the example program (i will put only DCL statements because the program is so long):
There are reports declarations... i know that in easytrieve is more simple, but it must be in PL/I...
So i want to know about the "DCL RELATO FILE VARIABLE", how this works and
- about the layout of the report: i have to use the logic to built a layout???
Thanks all help!
i took some programs examples to helps me to code a program that prints a report...
so, the example program (i will put only DCL statements because the program is so long):
DCL MOMASC FILE RECORD INPUT ENV(FB RECSIZE (80) TOTAL)
DCL RELSCS FILE RECORD OUTPUT
ENV(FB RECSIZE (133) CTLASA TOTAL);
DCL RELSJC FILE RECORD OUTPUT
ENV(FB RECSIZE (133) CTLASA TOTAL);
DCL RELJOI FILE RECORD OUTPUT
ENV(FB RECSIZE (133) CTLASA TOTAL);
DCL RELATO FILE VARIABLE;
DCL DATCON FILE RECORD INPUT ENV(FB RECSIZE (80) TOTAL);
DCL RELSCS FILE RECORD OUTPUT
ENV(FB RECSIZE (133) CTLASA TOTAL);
DCL RELSJC FILE RECORD OUTPUT
ENV(FB RECSIZE (133) CTLASA TOTAL);
DCL RELJOI FILE RECORD OUTPUT
ENV(FB RECSIZE (133) CTLASA TOTAL);
DCL RELATO FILE VARIABLE;
DCL DATCON FILE RECORD INPUT ENV(FB RECSIZE (80) TOTAL);
There are reports declarations... i know that in easytrieve is more simple, but it must be in PL/I...
So i want to know about the "DCL RELATO FILE VARIABLE", how this works and
- about the layout of the report: i have to use the logic to built a layout???
Thanks all help!