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 

Queue overflow problem

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


Joined: 08 Aug 2005
Posts: 3
Topics: 2

PostPosted: Tue Aug 09, 2005 5:00 am    Post subject: Queue overflow problem Reply with quote

Hi all.
In a CICS transaction, I am reading a VSAM file and loading the data into an internal table that is occuring 1000 times. The intenal table size is 31 bytes and for occurs 1000 it occupies 31000 bytes. Till now I was writing this 31000 bytes into a Queue as a single item. But now the VSAM may contain 2000 records. I can load this into the internal table by increasing the occurs clause. But the queue cannot accommodate 62000 bytes in a single item. How can i solve this problem? I have to carry this data to different programs. Also i dont have enough COMMAREA.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Tue Aug 09, 2005 7:02 am    Post subject: Reply with quote

Quote:

Till now I was writing this 31000 bytes into a Queue as a single item.


mfusers,

Wow ! Technically the maximum theoretical record length for each item (record) is 32,763 but, the SAFE-maximum is only 24,576 (24K). What are you compile options especially with TRUNC option?

Did you look in to User maintained Table(UMT) option? Talk to your CICS sysprogs and they have a good idea of which is best for your site and application.

kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
warp5
Intermediate


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

PostPosted: Wed Aug 10, 2005 12:53 am    Post subject: Reply with quote

Try using temporary storage (TS queue) and writing each record instead of the whole table at once. Really do not see much of an advantage to all this. This seems to be a design error as far as I can see.
Back to top
View user's profile Send private message Visit poster's website
SureshKumar
Intermediate


Joined: 23 Jan 2003
Posts: 211
Topics: 21

PostPosted: Wed Aug 10, 2005 12:10 pm    Post subject: Reply with quote

mfusers,
Re-visit the business requirement, look at the bigger picture. Most transactions don't need special requirements. However, I have read articles about BTS Containers (Business Transaction Services) some kind of an API interface within the transaction server. I have not had an oppurtunity to explore or implement it. I don't have the link with me, so look into the z/os server manual - look for BTS containers. thanks
Back to top
View user's profile Send private message
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