|
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.
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.