×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Put an EXCPT name in column 32 of the output spec at the record level.
Then use the EXCPT (or EXCEPT) opcode to write it.

C EXCEPT MYEXOUT

OQPRINT E MYEXOUT 1
O NAMEOUT 47
O 68 'has no corresponding'
O RECTYP 85



On Wed, Oct 29, 2008 at 2:15 PM, James Lampert <jamesl@xxxxxxxxxxxxxxxxx> wrote:
Can anybody point me to an example of how to do non-Cycle
program-described output to a spool file?

What we have so far is similar to this, which was cut and pasted from a
Cycle program I'd written over a year ago.

FQPRINT O F 132 PRINTER
. . .
OQPRINT E 1
O NAMEOUT 47
O 68 'has no corresponding'
O RECTYP 85

Unfortunately, since spool file output isn't something we do with any
kind of regularity, the best I can do on my own is RTFM.

--
James H. H. Lampert
Touchtone Corporation

--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

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