× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



You are correct, I found it about ten minutes ago and was testing it before 
I posted another message......thanks for the response though Lim, today is 
one of those days....took me three hours to figure it out LOL.....


On Wed, 31 May 2006 16:48:35 -0500, Lim Hock-Chai wrote
Is the program/module you try to compile doing a write on the record
format where PRTTXTAMT is declares?  
If the record format is not being used by the RPG program, fields in 
the record format will not be included in the program.

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Douglas W. Palme
Sent: Wednesday, May 31, 2006 2:25 PM
To: RPG Group
Subject: cannot find printer file defined field

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.

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

Replies:

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

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.