MQGem Software is pleased to announce that a new version of MQSCX, our command line extended MQSC tool for IBM MQ, is now available.
The main features of the release are as follows:-
Support for MQ Command Level 900
As normal with a new release of IBM MQ, there is a new command level. MQSCX now supports this new command level and its contents.
foreach(…) loop now operates in CCDT mode
Previous releases of MQSCX allowed the use of the foreach(…) statement to process each response from the command server. This release extends that processing to work with the responses to commands issued against the CCDT. For more information see Scripts using foreach on the CCDT
New iteration system variables loops
New system variables _idxEach, _idxItem, _idxWhile, _numEach, _numItem and _numWhile which can make processing loops easier.
Support of CCDT URL
IBM MQ V9 allows a connecting application to specify the URL location of the CCDT file to use. This field can now be specified on the =conn command. For more information see Using the CCDT URL.
Support for functions
You can now define lists of commands which can be invoked from the command line, other functions or expressions. For more information see MQSCX functions, which has a worked example.
Support for GOTO
You can now jump to labelled parts of your code.
Automatically loads bootstrap.mqx file
This can be useful to load useful functions so they are always available. Although it could equally be used to always run a specific command or several commands every time the MQSCX tool is started. For more information see MQSCX Bootstrap file.
Various improvements to the usability of the debugger
Including commands to support the new functions capability, such as sf to set your current stack frame.
New eval() function
This function allows the user to create more dynamic expressions by having the contents of strings evaluated as an expression. For example, print eval(“curdepth > 0”).
The new version can be downloaded from the MQSCX Download Page. Any current licensed users of MQSCX can run the new version on their existing licence. If you don’t have a licence and would like to try out MQSCX then send a note to firstname.lastname@example.org and a 1-month trial licence will be sent to you.