maximum line length" /> MQSC command files

 

MQSC command files

MQSC commands are written in human-readable form, that is, in EBCDIC text.

Figure 5 is an extract from an MQSC command file showing an MQSC command (DEFINE QLOCAL) with its attributes.

Figure 5. Extract from the MQSC command file, myprog.in

 .
 .
DEFINE QLOCAL(ORANGE.LOCAL.QUEUE) REPLACE  +
       DESCR(' ') +
       PUT(ENABLED) +
       DEFPRTY(0) +
       DEFPSIST(NO) +
       GET(ENABLED) +
       MAXDEPTH(5000) +
       MAXMSGL(1024) +
       DEFSOPT(SHARED) +
       NOHARDENBO +
       USAGE(NORMAL) +
       NOTRIGGER;
 .
 .

For portability among WebSphere MQ environments, limit the line length in MQSC command files to 72 characters. The plus sign indicates that the command is continued on the next line.

Object attributes specified in MQSC are shown in this book in uppercase (for example, RQMNAME), although they are not case sensitive.

Notes:

  1. The format of an MQSC file does not depend on its location in the file system

  2. MQSC attribute names are limited to eight characters.

  3. MQSC commands are available on other platforms, including z/OS.

The WebSphere MQ Script (MQSC) Command Reference contains a description of each MQSC command and its syntax.