| View previous topic :: View next topic |
| Author |
Message |
Satyajit Beginner
Joined: 08 Oct 2003 Posts: 2 Topics: 1
|
Posted: Wed Oct 08, 2003 5:21 am Post subject: TSQ limits |
|
|
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 |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12394 Topics: 75 Location: San Jose
|
Posted: Wed Oct 08, 2003 5:35 am Post subject: |
|
|
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 |
|
 |
Satyajit Beginner
Joined: 08 Oct 2003 Posts: 2 Topics: 1
|
Posted: Wed Oct 08, 2003 5:47 am Post subject: |
|
|
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 |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12394 Topics: 75 Location: San Jose
|
Posted: Wed Oct 08, 2003 9:11 am Post subject: |
|
|
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 |
|
 |
Manas Biswal Intermediate

Joined: 29 Nov 2002 Posts: 382 Topics: 27 Location: Chennai, India
|
Posted: Thu Oct 09, 2003 2:46 pm Post subject: |
|
|
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 |
|
 |
|
|
|