|
Murali, Is your code is same as the code in the book? Check the DDS indicators. you can not do much about the length of code and moreover I believe the program workign right is important than the length of the code. HTH. Rajan Tangri
From: Buck Calabro <Buck.Calabro@commsoft.net> Reply-To: rpg400-l@midrange.com To: rpg400-l@midrange.com Subject: RE: RE: Single Page subfile Date: Tue, 12 Nov 2002 15:09:03 -0500 Hi Murali! I would not worry about the length of the code until the code is working the way you want it to. >but when u r doing pageup next time(second >time onwards)its nt showing the records properly , >Iam nt getting the same result as i got when >i displayed the subfile for the first >time.... Scott's advice is good advice. Look at where the file pointer is after pressing page up and page down. I typically walk through code with a bit of scrap paper to keep track of variables before I actually run it. It's amazing how one little line of code will make things go wrong. --buck _______________________________________________ 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/cgi-bin/listinfo/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.
_________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail
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.