MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Maximum limit of a Stem.

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
sendhil
Beginner


Joined: 06 Sep 2006
Posts: 17
Topics: 6

PostPosted: Fri Jan 26, 2007 5:28 am    Post subject: Maximum limit of a Stem. Reply with quote

Hi,
I am parsing a file which is big enough.
And i am building a stem variable.The limit of the stem variable is to go till 4,00,000.I am not sure abt the maximum limits of stem.

I need to know whether i can go ahead usign a single stem variable ?


Regards
Sendhil
Back to top
View user's profile Send private message Send e-mail
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Fri Jan 26, 2007 4:51 pm    Post subject: Reply with quote

you are limited by 2 things. The amount of memory, and how long you want to wait for your program to run.

Stems are not simple arrays. In other words, you do not need to use just numbers as 'indices' (tails). You can do XYZ='BIRD' ; STEM.XYZ="CAGE"; (Stems are associative arrays, I am told).

In practice, handling this is not a very fast process. Although it is probably implemented as some sort of hashing routine, it gets slow after a while and takes up a fair amount of storage. If you can, just try it. But unless you need to process all items at once in storage, you might do better to buffer the data using a limited number of elements. Especially since the next time you see this file, it may be 100 times as large as it was when you wrote the program.
Back to top
View user's profile Send private message Visit poster's website
warp5
Intermediate


Joined: 02 Dec 2002
Posts: 429
Topics: 18
Location: Germany

PostPosted: Mon Jan 29, 2007 3:22 am    Post subject: Reply with quote

What are you trying to do? It does not seem to make much sense to have a stem that large and processing that amount of data with a rexx.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group