Encina sample program

 

This program puts 10 messages to the queue, backing out the odd numbered messages and committing the even numbered messages. The message is a 4-byte number.

The queue used by this sample is the SYSTEM.DEFAULT.MODEL.QUEUE, so a temporary dynamic queue is created each time that the program is run. You need to run trace to see what happens when the program runs.

 

Parent topic:

Sample programs (all platforms except z/OS)


fg17900_