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.

QUEPUT is a Cobol program that simply writes a request message to a queue and reads the reply message back from a reply queue.

QUEPUT two required and one option parameters that can be passed to it. These are Queue Manager name, input queue name (these are required) and reply queue name (this is optional). If the reply queue is omitted then the program will use a temporary dynamic queue for the reply.

If the Queue Manager name and input queue name are missing the program will fail.

The following parameter rules apply:
  • The name of the Queue Manager must be the first parameter passed to the program.
  • The name of the request queue must be the second parameter passed to the program.
  • All parameters must be separated by a comma.
  • If a reply queue is provided, the queue must already exist.
.

Sample JCL

  //PUT     JOB
//STEP1   EXEC PGM=QUEPUT,PARM='qmgr,request.queue.name'
//STEPLIB  DD  DISP=SHR,DSN=your.QUEPUT.loadlib
//         DD  DISP=SHR,DSN=your.mq.SCSQAUTH
//SYSPRINT DD  SYSOUT=*
//SYSIN    DD  *
message1
<SHUT>      * This will shutdown QECHO
 

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 635

Copyright © Abbydale Systems LLC 2015-2024

Abbydale Systems LLC Lic. 802696149. All rights reserved.

Last modified : Saturday 18th of September 2021