Hoe to set an MQ local queue to 'GET DISABLED' ion a script?
search cancel

Hoe to set an MQ local queue to 'GET DISABLED' ion a script?

book

Article ID: 93494

calendar_today

Updated On:

Products

SYSVIEW Performance Management NXBRIDGE - SYSVIEW/ENDEVOR

Issue/Introduction

I want to write an Ops/MVS script to talk to Sysview and to set all MQ local queues matching certain criterian to 'GET DISABLED'.
I know how to get the correct QLOCAL display in a script and to use the 'SET' command to get the filtered list if queues, but how to I simulate over-typing the 'GET' field in order to GET DISABLE the queue? 

Environment

Release: FAQSO.00200-15.0-SYSVIEW-Performance Management
Component:

Resolution

You probably want to look at the FILL command.
If you're using the Rexx API to issue MQQLOCAL, then do a SELECT to filter the data for only the queues you want to disable.
You could then do a: FILL GET DISABLE 1 * to update the GET field to be DISABLE on all rows that were selected.