|
Close, but that will put you in a loop *start setll DAHDRT00 READ DAHDRT00 dow not %eof(dahdrt00) do stuff here read DAHDRT00 enddo Or you could just define the file as Primary and let the cycle handle it. (let the Holy War begin <g>). Thanks, Mark Mark Walter Sr. Programmer/Analyst Hanover Wire Cloth a div of CCX, Inc. mwalter@hanoverwire.com http://www.hanoverwire.com 717.637.3795 Ext.3040 /"\ \ / X / \ |--------+--------------------------------> | | "N, Muralidhar" | | | <Muralidhar.N@blr.hpsg| | | lobal.com> | | | Sent by: | | | rpg400-l-bounces@midra| | | nge.com | | | | | | | | | 01/16/2003 01:52 AM | | | Please respond to RPG | | | programming on the | | | AS400 / iSeries | | | | |--------+--------------------------------> >-----------------------------------------------------------------------------------------------------------| | | | To: "'RPG programming on the AS400 / iSeries'" <rpg400-l@midrange.com> | | cc: | | Subject: sequential read | >-----------------------------------------------------------------------------------------------------------| I ve to read sequentially Header(flat file) file which doesnt have key how can i read from first record onwards is this what i wrote right? $Load_Hdr_Rec Begsr DOW NOT %EOF(DAHDRT00) *Start setll DAHDRT00 READ DAHDRT00 enddo > -----Original Message----- > From: Booth Martin [SMTP:Booth@MartinVT.com] > Sent: Wednesday, January 15, 2003 10:05 PM > To: rpg400-l@midrange.com > Subject: Re: POST > > > The POST operation puts information in an INFDS (file information data > structure). > > Look at this page: > > http://publib.boulder.ibm.com/pubs/html/as400/online/v4r5eng.htm > > --------------------------------------------------------- > Booth Martin http://www.MartinVT.com > Booth@MartinVT.com > --------------------------------------------------------- > > -------Original Message------- > > From: RPG programming on the AS400 / iSeries > Date: Wednesday, January 15, 2003 11:02:46 AM > To: 'RPG programming on the AS400 / iSeries' > Subject: POST > > hi all, > what does this opcode POST does?.. > kindly help me > Murali > > _______________________________________________ > 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. WARNING: The information in this message is confidential and may be legally privileged. It is intended solely for the addressee. Access to this message by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, or distribution of the message, or any action or omission taken by you in reliance on it, is prohibited and may be unlawful. Please immediately contact the sender if you have received this message in error. Thank you. _______________________________________________ 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.