>I can't figure out how to tell the stored proc
>to return 'rows 51-100' unless I pass the next
>key out to the caller and have her submit that
>as the place to begin reading.

I'm not sure you need the NEXT key, won't the last key do? Whave we've done
before is send the direction (next/previous) and the last key received last
time (if next) or the first key received last time (if previous) and let the
server figure out what to send back. IF you have a single "surrogate" key
it's just one parm, if you have a composite key... Well it's more parms <G>

-Walden

------------
Walden H Leverich III
President
Tech Software
(516) 627-3800 x11
(208) 692-3308 eFax
WaldenL@TechSoftInc.com
http://www.TechSoftInc.com

Quiquid latine dictum sit altum viditur.
(Whatever is said in Latin seems profound.)


-----Original Message-----
From: Buck Calabro [mailto:Buck.Calabro@commsoft.net]
Sent: Friday, December 06, 2002 11:53 AM
To: web400@midrange.com
Subject: RE: [WEB400] How to present large datasets on the Web?


>I don't see a reason to have the java-side code
>do the math when there is (I assume) already
>RPG code that is doing this.

Agreed.

>Call a single RPG program as a stored proc
>and build the resultset from several (many)
>tables and then return is as a single result
>set to the java.

That's the plan, alas the original is a subfile and positioning subsequent
pages is an issue.  Well, it's an issue for me.

I think we may have been able to convince the customer that a complete list
in HTML is not as useful as a search mechanism would be.  Between that and
the ability to download the entire list as a .csv file, they should be all
set.
  --buck
_______________________________________________
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/web400
or email: WEB400-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.