O'Reilly logo

APIs at Work, Second Edition by Ron Hawkins, Doug Pence, Bruce Vining

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Queuing Your Data

A data queue is a fast method of passing data between programs that are often running in different jobs. This data is often referred to as a message or a data-queue entry. (We use these two terms interchangeably.) You use tools on the system to put the data on the queue, and one or more jobs can take data off the data queue via the Receive Data Queue API (QRCVDTAQ) or Retrieve Data Queue Message API (QMHRDQM). You can use a variety of methods to put data on the queue, as you will see a little later. Reading data from a data queue usually involves one or more jobs that continually monitor the data queue and take data off it. The information may be retrieved either as it arrives or later.

Now for the standard question, “Data-queue ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required