|
I am not referencing it except in the printer file....PRTTXTAMT is the printer field and it is not defined except in the printer file. On Wed, 31 May 2006 12:45:18 -0700 (PDT), Jeff Young wrote
Douglas, Fields defined as OUTPUT only (ie: in a printer file) can not be implicitly referenced as a DS subfield. "Douglas W. Palme" <dpalme@xxxxxxxxxxx> wrote: I have an F spec declared in a test program that I need to bind a service program to and may have things out of order. When I attempt to create the module I get a SL 30 error telling me that it cannot find field PRTTXTAMT yet it is defined within the printer file appropriately. Here is a part of the RPG source: FAPCHKPRTF O E PRINTER OFLIND(*IN99) DCVTNBRTOWORDS PR 200 D 15 0 VALUE DMYNBR S 10S 2 DMYWORDS S 50 Dmystring s 75 Dmydec S 2 2 Dmycents s 2s 0 Dmycentstring s 10a Do I need to move the F spec below the prototype declaration? If you bought it, it was hauled by a truck - somewhere, sometime. -- 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. Jeff Young Sr. Programmer Analyst Dynax Solutions, Inc. A wholly owned subsidiary of enherent Corp. IBM -e(logo) server Certified Systems Exper - iSeries Technical Solutions V5R2 IBM Certified Specialist- e(logo) server i5Series Technical Solutions Designer V5R3 IBM Certified Specialist- e(logo) server i5Series Technical Solutions Implementer V5R3 --------------------------------- Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min. -- 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.
If you bought it, it was hauled by a truck - somewhere, sometime.
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.