Wed, 2010-09-22 00:34
Hello, is there any utility or ways to print the content of TSQ?
Pls advise.
Thanks.
.Hoe San.
Thu, 2010-09-23 09:16
#1
By printing do you mean
By printing do you mean routing the content of a tdq to a printer?
If you just want to look at the data in the tdq you can use the CEBR transaction.
Tue, 2010-09-28 10:11
#3
If you do not have access
If you do not have access to CEBR then the best option will be to roll-your-own TSQ browser to read the queue and write the data to the spool.
EXEC CICS SPOOLOPEN OUTPUT
NODE ('*')
USERID ('*')
RESP(RESP) RESP2(RESP2)
OUTDESCR(PARMSPTR)
TOKEN(TOKEN)
END-EXEC.
EXEC CICS SPOOLWRITE
FROM(OUTPRT)
RESP(RESP) RESP2(RESP2)
FLENGTH(OUTLEN)
TOKEN(TOKEN)
END-EXEC.
EXEC CICS SPOOLCLOSE
TOKEN(TOKEN)
RESP(RESP) RESP2(RESP2)
END-EXEC.
Take a look at the Interfaces to JES chapter for more detail.

Hello, thanks for your reply. Yes, I do mean printing to spool queue or dataset. Say, you are restricted by RACF to use CEBR. Thanks.
.Hoe San.