Try this: DSPOBJD *ALL/*ALL *OUTQ OUTFILE(filename) Dave
Try this: DSPOBJD *ALL/*ALL *OUTQ OUTFILE(filename) Dave
This gives me the basic system information but what I'm looking for is the actual attribute descriptions of the outq....DSPDTA, JOBSEP, OPRCTL, DTAQ, AUTCHK etc.. Any ideas? Thanks!
Sounds like a job for the QSPROUTQ API. Or use the RTVOUTQA command in the old QUSRTOOLs, which uses the API.
I'm trying to create a report which includes all out's and their descriptions. I can't find an outq command that I can outfile. Any ideas? TIA
Attached file has source for a program that gets all *OUTQ descriptions, then retrieves description for each using the QSPROUTQ API, and writes subset of the attributes to a file. The original purpose was to save enough information so that I could delete and recreate the queues, due to some network changes. You should be able to use this as a starting point. At the very least, it shows you how to invoke the API.
OUTQD.zip