|
I sent that to the list by mistake, it was supposed to go to Fred Underwood who has been helping me learn rpg. Thanks for the link though, I will check that out. ----- Original Message ----- From: "Buck Calabro" <buck.calabro@xxxxxxxxxxxx> To: <rpg400-l@xxxxxxxxxxxx> Sent: Wednesday, June 30, 2004 3:18 PM Subject: Re: WRKQRY > > Once you gave me a few lines of code to write to a file... > > I need some help with one part of it: > > > > MOVE HEADER RECORDOUT > > WRITE UPPULD > > CLEAR RECORDOUT > > > > well what should record out be? > > It is exceedingly difficult to teach RPG fundamentals via a mailing > list; I have been chastised enough in the past for trying. A fair > place to start is the RPG User's guide at the Infocenter at > http://www.iseries.ibm.com/infocenter. > > The code you posted is alright as far as it goes, but it isn't enough. > Files are defined in RPG on the F-specification. There isn't quite > enough information here to help you out yet. Specifically, you need > to understand the distinction between a file name, record format name > and field name. Is this still the UPS PLD file project? (You might > consider changing the subject line to reflect that.) If so, a brief > description of what that PLD file _should_ look like would be helpful. > Does it contain a header, some detail lines and then a trailer? Or > are all the records identical (detail only?) > > A strong bit of advice is to look at the compiler listing, making note > of the file, record format and field names involved with the files > you're working with. > > > I get not defined errors and I need to know > > what should go there... > > The specific error message would be helpful, along with the line of > code causing it. What exactly is not defined? There are 3 different > things which might not be defined... > --buck > > > > -- > 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 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.