×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Hi John,

When you say you're accessing the 32K chunks by address, do you mean chunk#
or something?  If you split each chunk into two physical file records,
calculation of the rrn of the chunks would be pretty simple -- rrn1 = chunk#
* 2 - 1, rrn2 = chunk# * 2.  I guess what I'm saying is that calculating the
record you want is not too big a deal.  If speed is an issue, and you think
a multiply would take too long, then try rrn1 = chunk# + chunk# - 1.

hth,
Peter Dow
Dow Software Services, Inc.
909 793-9050 voice
909 793-4480 fax
909 522-3214 cell

----- Original Message ----- 
From: "John Brandt Sr." <pgmr@xxxxxxxxxxxxxxx>
To: "'RPG programming on the AS400 / iSeries'" <rpg400-l@xxxxxxxxxxxx>
Sent: Monday, November 03, 2003 10:19 AM
Subject: User Space or Data Queue or PF or IFS


> I have written a utility to retrieve records from an SQL server.
> I used User Space to store the data returned from the server.
> The problem is that the user space is restricted to 16MB.
> In order to break this limitation, I need to move to another storage
method.
> I am putting data directly off a socket in 32K chunks and accessing it by
> address.
> Any method besides the IFS would cause me to have to calculate the record
I
> want every I/O, although a Data Queue would work because I can use the 32K
> chunks and just divide my offset by 32767 to get the record that I want.
(I
> will still have some overlap, but I can deal with that)
>
> Any suggestions?
> John Brandt
> iStudio400.com
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.535 / Virus Database: 330 - Release Date: 11/1/03
>
> _______________________________________________
> 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.
>
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.532 / Virus Database: 326 - Release Date: 10/30/2003



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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

This mailing list archive is Copyright 1997-2026 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.