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 

TSQ limits

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
Satyajit
Beginner


Joined: 08 Oct 2003
Posts: 2
Topics: 1

PostPosted: Wed Oct 08, 2003 5:21 am    Post subject: TSQ limits Reply with quote

I want to know the max sizes of the following:

1. The max size of one item written to a TSQ
2. The max no. of items that can be written to a TSQ
3. What, therefore, is the max amount of data that can be stored in a TSQ ?

I need help regarding this urgently. Thanks in advance to all concerned.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12394
Topics: 75
Location: San Jose

PostPosted: Wed Oct 08, 2003 5:35 am    Post subject: Reply with quote

Satyajit,

1. The max record length of each record(item) is 32,763 and in real you can use only 24k(24,576). This is due to storage limits for your application and region. It also depends if the TSQ is assigned to MAIN or AUX storage.

2. The max no: of items in a TSQ are 32,767

3. Read answers 1 and 2


Hope this helps...

cheers

kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Satyajit
Beginner


Joined: 08 Oct 2003
Posts: 2
Topics: 1

PostPosted: Wed Oct 08, 2003 5:47 am    Post subject: Reply with quote

Thanks for the prompt reply. Could you please confirm the following:

Since the limit on the length of each item is 24,576 and there can be a max of 32,767 items in the queue the max amount of data that can be written to the queue is the product of the two (24,576 * 32,767) bytes. Please confirm if this is correct.

What will be the errors/resp-codes thrown if either of the two limits is crossed ?
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12394
Topics: 75
Location: San Jose

PostPosted: Wed Oct 08, 2003 9:11 am    Post subject: Reply with quote

Satyajit,

The numbers I mentioned in my first post are therotical limits. But in practise these limits are irrelevent. The amount of space you can use depends on your CICS region.

If you are writting the TSQ to AUXILIARY storage then the amount of space you can use depends on the CICS region's DFHTEMP VSAM ESDS dataset

If you are writting the TSQ to Main storage then the amount of space you can use depends on the (EDSALIM - high water mark) value.

So consult your CICS sysprogs find out the limits. If you feel that your application needs more space then you request them to increase the limit.

Some of the errors you might encounter are :

1.ITEMERR (The maximum number of items (32 767) is exceeded).

2.LENGERR (The length of the stored data is greater than 32763).

3.NOSPACE (occurs when the NOSUSPEND option is specified and there is no space for the data in the auxiliary temporary storage data set or the temporary storage pool list structure).

Hope this helps...

cheers

kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Manas Biswal
Intermediate


Joined: 29 Nov 2002
Posts: 382
Topics: 27
Location: Chennai, India

PostPosted: Thu Oct 09, 2003 2:46 pm    Post subject: Reply with quote

Just wanted to know Satyajit. Are you really in a situation where you need to know about the maximum size of a TSQ. If its just a theoritical question, then it is all right but frankly, I have never encountered a situation wherein I have come even close to the maximum size of a TSQ. A TSQ is not a database.

Regards,
Manas
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware 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