|
Can't do it with PDM option 14. If you use RLU to develop & modify your printer files, RLU keeps track of the compile options at the bottom of the printer file's source member. But you have to invoke the compile from within the RLU command, you still can't use PDM option 14. Gumbo's RDA (Report Design Aid) works the same way. If you're really ambitious, you could create duplicates of all the CRT*-compile commands in a library that sits on top of your system library list and develop your own CPP for these duplicates that can scan for compiler options in a pre-processor app. (This has been on my to-do list for several years.) Has something like this been published in one of the AS/400 trade rags? Dan Bale IT - AS/400 Handleman Company 248-362-4400 Ext. 4952 -------------------------- Original Message -------------------------- In RPG I can send a compiler option to the compiler when I compile programs, like: Hoption(*srcstmt:*nodebugio) Is there a way that I can do the same for a PRTF file? I have a particular file that must be compiled with different page lengths, and instead of having to remember and retype the various options for this file, I would like for the printer to tell the compiler what to do. Specifically, I need the following options to be executed whenever the file is compiled: PAGESIZE(11 8.5 *UOM) OVRFLW(85) Is there an easy way to tell the compiler to set these compile options from within a PRTF file when I compile with option 14? Thanks! Patrick Shrader +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
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.