|
I'm not sure, if what I want to do is pratical, but I was hoping to at least give it a try... I have some files, that are about 300,000 records, and I want to ... read them in rpg, do some logic, and some chains, and pass back the result, to crystal reports for printing. 'real time.' It can be slow... but I would still like it to be real time... I noticed that if I use the crtpgm, I can set the storage model to teraspace, for an rpg module, but I'm not sure how to create a CRTSQLRPG module so I can use the teraspace option... Thanks for the response... But I have a feeling, I'm not going to get very far with this one though... Thanks tim > -----Original Message----- > From: rpg400-l-bounces@xxxxxxxxxxxx [SMTP:rpg400-l-bounces@xxxxxxxxxxxx] > On Behalf Of Walden H. Leverich > Sent: Tuesday, March 22, 2005 3:12 PM > To: RPG programming on the AS400 / iSeries > Subject: RE: Teraspace, SQL, RPG > > Tim, > > Never tried with teraspace (not sure RPG even support it) but I have > passed a user space back as a result set. I defined a MODS as > OCCURS(32767) and BASED on a pointer. I set the pointer to the user > space and issued the set results set for the MODS. You're limited to the > 32767 limit of a MODS, but how many rows are you looking to return? > > -Walden > > > ------------ > Walden H Leverich III > President & CEO > Tech Software > (516) 627-3800 x11 > WaldenL@xxxxxxxxxxxxxxx > http://www.TechSoftInc.com > > Quiquid latine dictum sit altum viditur. > (Whatever is said in Latin seems profound.) > > > -- > 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. > This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential or privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy the message.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.