¿ªÔÆÌåÓý

Purging Class Z Printouts


 

When I perform a "q prt" command as MAINT or from the operator console I can see a number of spooled print files/jobs that came from MVS running under VM; for examples:


OWNERID? FILE CLASS RECDS? CPY HOLD
MVS????? 0100 Z PRT 000053? 01 NONE
MVS????? 0104 Z PRT 000037? 01 NONE
MVS????? 0105 Z PRT 000033? 01 NONE


I don't believe I need those so I am trying to purge them, but none of the syntax I am trying seems to work:


pur prt
?NO? FILES PURGED
Ready; T=0.01/0.01 12:46:38
pur prt 100
?NO? FILES PURGED
SPOOLID 0100 DOES NOT EXIST
Ready(00042); T=0.01/0.01 12:46:42
pur prt class z
?NO? FILES PURGED
Ready; T=0.01/0.01 12:46:47
pur prt class z 100
?NO? FILES PURGED
SPOOLID 0100 DOES NOT EXIST
Ready(00042); T=0.01/0.01 12:47:18
pur prt class all
?NO? FILES PURGED
CLASS MISSING OR INVALID
Ready(00028); T=0.01/0.01 12:47:28
pur all
?NO? FILES PURGED
Ready; T=0.01/0.01 12:47:32
pur prt class z all
?NO? FILES PURGED


I am hopefully missing something simple here - can anyone clue me in?


Thank you!


 

At a guess, they¡¯re in MVS¡¯s reader. Try Q RDR MVS ALL
On Jan 3, 2024, at 12:50 PM, Frank D. Engel, Jr. <fde101@...> wrote:

?When I perform a "q prt" command as MAINT or from the operator console I can see a number of spooled print files/jobs that came from MVS running under VM; for examples:


OWNERID FILE CLASS RECDS CPY HOLD
MVS 0100 Z PRT 000053 01 NONE
MVS 0104 Z PRT 000037 01 NONE
MVS 0105 Z PRT 000033 01 NONE


I don't believe I need those so I am trying to purge them, but none of the syntax I am trying seems to work:


pur prt
NO FILES PURGED
Ready; T=0.01/0.01 12:46:38
pur prt 100
NO FILES PURGED
SPOOLID 0100 DOES NOT EXIST
Ready(00042); T=0.01/0.01 12:46:42
pur prt class z
NO FILES PURGED
Ready; T=0.01/0.01 12:46:47
pur prt class z 100
NO FILES PURGED
SPOOLID 0100 DOES NOT EXIST
Ready(00042); T=0.01/0.01 12:47:18
pur prt class all
NO FILES PURGED
CLASS MISSING OR INVALID
Ready(00028); T=0.01/0.01 12:47:28
pur all
NO FILES PURGED
Ready; T=0.01/0.01 12:47:32
pur prt class z all
NO FILES PURGED


I am hopefully missing something simple here - can anyone clue me in?


Thank you!








 

When I perform a "q prt" command as MAINT or from the operator
> console I can see a number of spooled print files/jobs that came from
> MVS running under VM; for examples:

You may need to specify the owning userid (MVS) or SYSTEM on the PURGE
command:

PURGE SYSTEM P CLASS Z
-or-
PURGE MVS P CLASS Z

De


 

That was it!

Thank you!


pur system p class z
0035 FILES PURGED

On 1/3/24 13:18, Dennis Boone wrote:
> When I perform a "q prt" command as MAINT or from the operator
> console I can see a number of spooled print files/jobs that came from
> MVS running under VM; for examples:

You may need to specify the owning userid (MVS) or SYSTEM on the PURGE
command:

PURGE SYSTEM P CLASS Z
-or-
PURGE MVS P CLASS Z

De





 

Just a thought while I am at it...


The "help" command in CMS currently only provides information about the Class G format commands.? While this may have made sense in a typical "real world" mainframe environment where the majority of users were only using those commands, many of us using CE and the like are both "normal" users AND operators/administrators/system programmers for the same system.

While I don't expect that anyone wants to take the time to reproduce all of the documentation from the original manuals, it would be nice if for some of the more common operator types of activities there were at least hints about these things added to the help system.? In this case the fact that users with (class D if I am reading this properly?) privileges can add a userid or SYSTEM before the other arguments to purge spool files of another user would seem a small thing to add as a comment somewhere on the page and make things a bit more accessible for users who are still getting oriented to some of these tasks.

It looks like you can do the same thing with the ORDER command so a similar comment on that page, for example...

On 1/3/24 13:54, Frank D. Engel, Jr. wrote:
That was it!

Thank you!


pur system p class z
0035 FILES PURGED


On 1/3/24 13:18, Dennis Boone wrote:
? > When I perform a "q prt" command as MAINT or from the operator
? > console I can see a number of spooled print files/jobs that came from
? > MVS running under VM; for examples:

You may need to specify the owning userid (MVS) or SYSTEM on the PURGE
command:

???? PURGE SYSTEM P CLASS Z
???? -or-
???? PURGE MVS P CLASS Z

De