|
>We use a purchased product for our accounting systems. >One of the reports in this software creates a report >that we need to break up for distribution to other people. >We don't want them to see everything, just the part that they >are supposed to see. The report is laid out that there is >a definite spot where you can tell where to break it apart. Yes, CPYSPLF will work for you; just write your own program to pick through the resulting data and print the portions that you want. Pseudocode follows: 1) Run package 2) crtpf qtemp/print 3) cpysplf 4) run your pgm 5) read qtemp/print 6) determine the spooled attributes/form name, user data, outq, etc. 7) if qsysprt open AND "break apart" reached, close qsysprt 8) ovrprtf 9) open qsysprt 10) print line --buck
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.