Sunday, May 22, 2016

Useful MQSC scripts for IBM Message Queue (Part I)

I have been caught by the time, after some years ago, my knowledge of configuration of IBM Message Queue is not being in practice because spending 2 hours trying to configure Channel Security the remembrance of how doing it stuck me.

I have decided to conserve some memories of script of configuration and this is the first part.

1. Backup and recovery script:
dmpmqcfg -m [QUEUE_MANAGER] > BACKUP_FILE.mqsc
runmqsc [QMNAME] < BACKUP_FILE.mqsc > logfile.txt 2>&1

2. Remove security to the channel
RUNMQSC <QUEUEMANAGER>
ALTER QMGR CHLAUTH(DISABLED)
REFRESH SECURITY TYPE(CONNAUTH)
END


Important Links:

Best regards,

No comments:

Post a Comment