I don't think CPYSPLF actually drops any lines.

Normally what you see as blank lines when you print the report are actually
the result of the 'advancing' you specify in the program's WRITE
statements.

If you use the option CTLCHAR(*FCFC) on CPYSPLF, column one of the PF will
contain a space (for single spacing), a '0' (for double spacing), '-' (for
triple spacing), '1' (for top of page), or a '+' for no spacing.  You can
then process accordingly.

Here is some output I'm currently working with like I have described:

      Invoice Number:
+     Invoice Number: xxxxxxxxxx
+                     xxxxxxxxx RI
  --------------------------------------------------------
  Ship Date:      06/21/05
  Requested Date: 06/21/05  Customer PO: xxxxxxxxxxx
  Payment Terms:  230       2 % 30 Days, Net 31
  Shipping Instructions:    CUST P/U 6/20/05
  --------------------------------------------------------
0 Ln/Rq Dt     Description                Item Number/Cust
  -------- ------------------------------ ----------------
  FOR QUESTIONS REGARDING THIS INVOICE, CALL xxxxxxxxxxxx
           xxxxxxxxxxxxxxxx  NS A LGE    WH xxxxxxxxxxxxxxxxx
           LARGE          WHITE    230/BD
0          xxxxxxxxxxxxxxxx  NS A MED    WH xxxxxxxxxxxxxx
           MEDIUM         WHITE    250/BD
0          Freight-xxxxx                  Freight-xxxxxxxx

Scott


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 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.