The following examples show the replies from some DISPLAY commands.
If you want to find out the name of the dead-letter queue for a queue manager, issue this command from an application program:
DISPLAY QMGR DEADQ
The following three user messages are returned, from which you can extract the required name:
CSQN205I COUNT= 3, RETURN=00000000, REASON=00000000 CSQM409I +CSQ1 QMNAME(CSQ1) DEADQ(SYSTEM.DEAD.QUEUE ) CSQ9022I +CSQ1 CSQMDRTS ' DISPLAY QMGR' NORMAL COMPLETION
The following examples show how the results from a command depend on the attributes specified in that command.
You define a local queue using the command:
DEFINE QLOCAL(Q1) DESCR('A sample queue') GET(ENABLED) SHARE
If you issue the following command from an application program:
DISPLAY QUEUE(Q1) SHARE GET DESCR
these three user messages are returned:
CSQN205I COUNT= 3, RETURN=00000000, REASON=00000000 CSQM401I +CSQ1 QUEUE(Q1 ) TYPE( QLOCAL ) QSGDISP(QMGR ) DESCR(A sample queue ) SHARE GET(ENABLED ) CSQ9022I +CSQ1 CSQMDMSG ' DISPLAY QUEUE' NORMAL COMPLETION
Two queues have names beginning with the letter A:
If you issue the following command from an application program:
DISPLAY QUEUE(A*) PUT
these four user messages are returned:
CSQN205I COUNT= 4, RETURN=00000000, REASON=00000000 CSQM401I +CSQ1 QUEUE(A1 ) TYPE( QLOCAL ) QSGDISP(QMGR ) PUT(DISABLED ) CSQM406I +CSQ1 QUEUE(A2 ) TYPE( QREMOTE ) PUT(ENABLED ) CSQ9022I +CSQ1 CSQMDMSG ' DISPLAY QUEUE' NORMAL COMPLETION
You define a namelist using the command:
DEFINE NAMELIST(N1) NAMES(Q1,SAMPLE_QUEUE)
If you issue the following command from an application program:
DISPLAY NAMELIST(N1) NAMES NAMCOUNT
the following three user messages are returned:
CSQN205I COUNT= 3, RETURN=00000000, REASON=00000000 CSQM407I +CSQ1 NAMELIST(N1 ) QS GDISP(QMGR ) NAMCOUNT( 2) NAMES(Q1 ,SAMPLE_QUEUE ) CSQ9022I +CSQ1 CSQMDMSG ' DISPLAY NAMELIST' NORMAL COMPLETION
Notices |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
csqsaw0334 |