As ever, you use this free code at your own risk.

Feel free to use the free software on this site but please honor the copyright.

QECHO is a Cobol program that simply reads a message from a queue and writes the exact same message back onto the reply queue.

QECHO follows most good WebSphereMQ programming techniques, except for one very important difference. The difference is that it will run forever or until it gets a shutdown message (<SHUT>). It can, however, be canceled without any issues if needed. The program will also shutdown if the Queue Manager is closed down.

There are two parameters required for QECHO. These are Queue Manager name and input queue name.

The following parameter rules apply:
  • The name of the Queue Manager must be the first parameter passed to the program.
  • Parameters must be separated by a comma.

Sample JCL

  //ECHO    JOB
//STEP1   EXEC PGM=QECHO,PARM='qmgr,request.queue.name'
//STEPLIB  DD  DISP=SHR,DSN=your.QECHO.loadlib
//         DD  DISP=SHR,DSN=your.mq.SCSQAUTH
//SYSPRINT DD  SYSOUT=*
 

Downloads

 

Link

Description

 
 

QECHO & QUEPUT Loadlib
XMI File

This is the link to the load library dataset in TSO TRANSMIT (XMIT) format that contains the 2 programs, QECHO & QUEPUT.

This file is a TSO TRANSMIT file and should be transferred to the z/OS system using a file transfer program.

The file must be transferred as a BINARY file. It must be transferred as a fixed blocked, 80 byte file.

Once the file is on z/OS it will have to be received. To do this you use the TSO RECEIVE command. Please refer to the IBM RECEIVE command for details on the use of this TSO command.
 
 

This material has been used successfully by Abbydale Systems LLC. and to the best of our knowledge this material and any system(s) of which it is a part are operational as of the service level or date stated in the body of this material (if so stated). However, NO warranty is given or implied as to the accuracy of this material or any related material or systems, and no responsibility is assumed for any effect or modification directly or indirectly caused by the use of this material.

It is the responsibility of any user of this material to evaluate its usefulness to the user's environment.

Abbydale Systems LLC. does not guarantee to keep this or any related material current, nor does it guarantee to provide any corrections or extensions described by any users of this material or any corrections or extensions made in the future by Abbydale Systems LLC. itself.

 
 


If you need any support or assistance with any of the code on this site
or
if you would like to contact us, please click here

follow us on facebook
Follow us on Facebook

 

Number of unique visitors 613

Copyright © Abbydale Systems LLC 2015-2024

Abbydale Systems LLC Lic. 802696149. All rights reserved.

Last modified : Saturday 18th of September 2021