• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1140
  • Last Modified:

data queue size is overlimit size

i have program  is running on as/400  but data queue size for this program is over.
That is the reason , it is error , would we have any command to increase data queue or solve this for program runs?

Tks so much.

1 Solution
Gary PattersonVP Technology / Senior Consultant Commented:
A data queue (under V5R4) is configured by default to hold as many entries as will fit in 16MB.  You can use the SIZE parameter on the CRTDTAQ command to specify a larger limit, up to a maximum of the number of entries that will fit in 2GB.


Stop adding new entries to the queue, allow your program to empty out the data queue, end the program, delete the data queue, and re-create it with an adequate size.

When data queue growth runs out of control, it means that you are pushing more data onto the queue than is being read off of it.  Consider speeding up the performance of the program that is reading entries off of the queue, or adding multiple processes to read the queue.

- Gary Patterson
dinhchung82Author Commented:
your help is always useful for me
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now