|
Hi Janell, I use named fields with overlays to process array output. D LineDs DS D Line 65A Dim(41) D Cust 3A OverLay(Line:1) Inz('999') D CatC 3A OverLay(Line:4) Inz('999') D CatD 22A OverLay(Line:7) D Ownr 10A OverLay(Line:29) D PayT 8A OverLay(Line:39) D #Sld 6S 0 OverLay(Line:47) Inz(000000) D Net$ 12S 2 OverLay(Line:53) Inz(0000000000) D PTyp 1A OverLay(Line:65) Inz(' ') D CusCat 6A OverLay(Line:1) Line is a relative output spec. To create prtfs I use Code Designer. It is the berries. ( and it seldom crashes these days) Regards Rick DuVall Systems Manager Dealer's Auto Auction of Okc, Inc. Rick@xxxxxxxxxx <mailto:Rick@xxxxxxxxxx> (405) 947-2886 -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of Janell Haskins Sent: Tuesday, October 07, 2003 3:00 PM To: rpg400-l@xxxxxxxxxxxx Subject: Printer File Help I'm trying to teach myself how to use externally defined printer files. I have two questions for the list. First, how do you (or can you) refer to an array element in printer file DDS? My current program uses an array to track monthly sales and I need to print out the value for each month (i.e. the individual array elements). Second, can you recommend a good reference(s) for creating printer files? I've been working with IBM's DDS Reference, but it couldn't help me in this situation. Thanks! Janell Haskins Programmer/Analyst Knit-Rite, Inc. Kansas City, KS _______________________________________________ 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.