In addition to the other responses, wouldn't it just be easier to write to the .csv file directly and email it? Or just send an email from RPG with the data in it and skip the file too.

I'm reminded of a process we used to have that copied from a spooled file to a PF to a source file to STMF then FTP off to another site. Extra steps with no benefit. (It looked like a nail, so someone got out the hammer.)
Sean Porterfield

-----Original Message-----
From: Steve Richter
Sent: Thursday, December 13, 2012 15:14
To: Midrange Systems Technical Discussion
Subject: how to print on every line of the page, from 1 to 66?

The following code blows up when printing on the 66th line on the page.
Overflow is set to 66. How can I write printer code that prints on each line of the page?

( I am printing CSV formatted data, then emailing the spooled file. If the page does not have all 66 lines filled, I get gaps in the resulting spreadsheet. )

This email is confidential, intended only for the named recipient(s) above and may contain information that is privileged. If you have received this message in error or are not the named recipient(s), please notify the sender immediately and delete this email message from your computer as any and all unauthorized distribution or use of this message is strictly prohibited. Thank you.

This thread ...


Return to Archive home page | Return to MIDRANGE.COM home page