Using Q to display held output

Rates a post simply because it took me so long to figure out how to do it.

But this post is for hercules users running MVS3.8J, it won’t make any sense to the rest of you.

The online help in Q is great for displaying JCL and JMSG, but to get to the actual job output you are interested in is not intuitive. Well it is when you figure out how, but difficult to get there just using the online help.

Simply put, when your job is on the JES2 held output queue, from either the status display (command:status yourid) of the held output display (command:ho), place a D next to it to invoke the DD command against that job.
Or alternately select the job and at some point use the DD command while that job is selected. Thats the way I used to do it.

Why is it not intuitive ?; putting a D next to an entry triggers all sorts of warning bells in most of us, but in this case it is not ‘delete’, it just runs the DD command against the job.

I’ve added a quick screen capture of viewing held output to my site to show how it works.
And to remind me of how it works, as it’s hard to override my natural impulse of not putting a D next to anything.

About mark

At work, been working on Tandems for around 30yrs (programming + sysadmin), plus AIX and Solaris sysadmin also thrown in during the last 20yrs; also about 5yrs on MVS (mainly operations and automation but also smp/e work). At home I have been using linux for decades. Programming background is commercially in TAL/COBOL/SCOBOL/C(Tandem); 370 assembler(MVS); C, perl and shell scripting in *nix; and Microsoft Macro Assembler(windows).
This entry was posted in MVS3.8J. Bookmark the permalink.