CL Programming
The following describes the differences between using data queues and
database files:
- Data queues have been improved to communicate between active procedures
and programs, not to store large volumes of data or large numbers of
entries. For these purposes, use database files as queues.
- Data queues should not be used for long-term storage of data. For
this purpose, you should use database files.
- When using data queues, you should include abnormal end routines in your
programs to recover any entries not yet completely processed before the system
is ended.
- It is good practice to periodically (such as once a day) delete and
re-create a data queue at a safe point. Performance can be affected if
too many entries exist without being removed. Re-creating the data
queue periodically will return the data queue to its optimal size.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.