|
This communication is confidential and may be legally privileged. If it is not addressed to you, you are on notice of its status. Please immediately contact us at our cost and destroy it. Please do not use, disclose, copy, distribute or retain any of it without our authority - to do so could be a breach of confidence. Thank you for your co-operation. If you need assistance, please contact Baycorp Advantage on either :- Australia 133124 or New Zealand +64 9 356 5800 All addresses for personnel are in the format of 'firstname.lastname@baycorpadvantage.com' and any service addresses will be based on the format in these examples :- assistonline.nz@baycorpadvantage.com collections.nz@baycorpadvantage.com customerservice.nz@baycorpadvantage.com sales.nz@baycorpadvantage.com communications.nz@baycorpadvantage.com businessdata@baycorpadvantage.com invest@baycorpadvantage.com marketingsolutions@baycorpadvantage.com jobs@baycorpadvantage.com webmaster@baycorpadvantage.com Please update your contact details accordingly. Thank-You!
Tom, If you know that SFLSIZ = SFLPAG then you just perform an initial loop that writes to the subfile until the write fails since the subfile will only permit one page of records to be written. Peter -----Original Message----- From: Tom Liotta [mailto:qsrvbas@xxxxxxxxxxxxxxxxxxxxx] Sent: Thursday, January 16, 2003 2:13 PM To: rpg400-l@midrange.com Subject: Re: Determine SFLSIZ/SFLPAG Dan: Yep, you got it it. Although I can handle the API okay, I was just hoping someone knew some details of an INFDS or an obscure DDS or F-spec keyword that would bring the info into the program. It just seems that an external file description should make this available. I'm looking at an existing program that has some 'Position to...' logic for a subfile. It relies on a literal value for subfile lines per page. I made changes to the DDS that reduced the subfile lines by one per page and need to make the corresponding change in the program before recompiling. It shouldn't be necessary. I should be able to recompile with no program code change and 'Position to...' should still work, if the program is written correctly in the first place. It looks like the API is the only choice. Tom Liotta rpg400-l-request@midrange.com wrote: > 5. Re: Determine SFLSIZ/SFLPAG (Dan) > >Oh, I see it's not one of the easier APIs. Is that why you're looking >for something easier, Tom? -- -- Tom Liotta The PowerTech Group, Inc. 19426 68th Avenue South Kent, WA 98032 Phone 253-872-7788 x313 Fax 253-872-7904 http://www.powertechgroup.com __________________________________________________________________ The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ _______________________________________________ This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo.cgi/rpg400-l or email: RPG400-L-request@midrange.com 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.