When I enter, my CHECKRDR command on z/VM 4.4, this is what I see:

READER   FILES    T1  F 80  Trunc=80 Size=4099 Line=39 Col=1 Alt=1
 
PF13= PURGE the highlighted reader file.   PF21= SORT by LARGEST file.
      (OPEN files can't be purged)         PF22= SORT by DATE.
                                           PF23= SORT by USER/smallest.
PF3= EXIT     (xfertome=trans cursor)      PF24= SORT by USER/filename.
Use XEDIT commands to move the highlighted (RED) line to any line in
this list:
 
xxxxP    7005 M PUN 00004655 001 NONE 03/27 20:59:16 IBM-MAIN MAIL
BAMA
xxxxP    8272 M PUN 00004391 001 NONE 03/19 16:58:59 navynews MAIL
NAVY
xxxxP    7167 L CON 00004014 001 NONE 03/29 06:00:04
DMDC
xxxxP    0221 A PRT 00003913 001 NONE 03/28 11:51:37 MG$#CHEK OUTPUT
1000
xxxxP    6944 M PUN 00003904 001 NONE 03/26 20:59:16 IBM-MAIN MAIL
BAMA
xxxxP    8226 A PRT 00003872 001 NONE 03/21 09:05:22 MW$#FPL2 OUTPUT
MW$#
xxxxP    6669 M PUN 00003612 001 NONE 03/21 20:59:08 IBM-MAIN MAIL
BAMA
xxxxp    7016 L CON 00003251 001 NONE 03/27 06:00:05
DMDC
xxxxP    0084 M PUN 00003204 001 NONE 09/13 11:41:44 owner-ds MAIL
EE
xxxxP    6753 M PUN 00003178 001 NONE 03/22 20:59:17 IBM-MAIN MAIL
BAMA
xxxxP    0359 A PRT 00003143 001 NONE 03/30 13:36:55 MW$#ILOD OUTPUT
MW$#
xxxxP    6953 L CON 00003076 001 NONE 03/26 06:00:02
DMDC

====>


When I enter the CHECKPRT command, this is what is see:

PF13= PURGE the highlighted printer file.  PF21= SORT by LARGEST file.
      (OPEN files can't be purged)         PF22= SORT by DATE.
                                           PF23= SORT by USER/smallest.
PF3= EXIT                                  PF24= SORT by USER/filename.
Use XEDIT commands to move the highlighted (RED) line to any line in
this list:
 
 
 
 
* * * Top of File * * *
VMSCHED  0051 A CON 00240709 001 NONE OPEN- 0009
VMRMAINT
VMSCHED  0052 P PRT 00132608 001 NONE OPEN- 000E
VMRMAINT
VMRTM    0403 A PRT 00014602 001 NONE 03/30 08:00:04
VMRTM
TCPIP    0001 A CON 00004413 001 NONE OPEN- 0009
TCPIP
OPR      0201 A CON 00003493 001 NONE OPEN- 0009
OPR
RACFVM   0117 T CON 00002951 001 NONE OPEN- 0009
RACFVM
3504P    2893 L CON 00001714 001 NONE OPEN- 0009
DMDC
SMTP     0082 A CON 00001081 001 NONE OPEN- 0009
SMTP
MAILER   1846 A CON 00000977 001 NONE OPEN- 0009                       
====>

With these execs, I can view, sort and delete files easily...

Thanks for your help,
Alyce



-----Original Message-----
From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On
Behalf Of Schuh, Richard
Sent: Friday, March 30, 2007 1:15 PM
To: [email protected]
Subject: Re: Exec errors

It may be that there are commands that can be used that do not require
displaying host storage. What are you trying to accomplish? If you are
looking for total and remaining space available, for instance, the
response to QUERY ALLOC may be all that is needed. 

q alloc spool                                                   
                EXTENT     EXTENT  TOTAL  PAGES   HIGH    %     
VOLID  RDEV      START        END  PAGES IN USE   PAGE USED     
------ ---- ---------- ---------- ------ ------ ------ ----     
VW3SP1 C890          0       3338 601020 223852 504209  37%     
VW3SP2 C058          0       3338 601020 251332 493942  41%     
VW3SP3 C167          0       3338 601020 180079 407992  29%     
V3SP04 CCFE          1       3338 600840 232100 576202  38%     
V3SP05 B83B          1       3338 600840 298477 491040  49%     
V3SP06 CE1D          1       3338 600840 286382 548100  47%     
V3SP07 B843          1       3338 600840 294841 597423  49%     
V3SP08 B890          1       3338 600840 281302 600840  46%     
V3SP09 B845          1       3338 600840 287700 600551  47%     
VMDMPA B858          1       3338 600840 517187 517187  86% DUMP
VMDMPB DC63          0      10016  1761K     12     12   1% DUMP
                                  ------ ------        ----     
SUMMARY                            7629K  2786K         36%     
USABLE                             5281K  2281K         43%  

This can be processed by a pipe or if detailed information is desired,
or  if all you want is to know totals, 

   parse value diag(8,'Q ALLOC SPOOL') with 'USABLE' tot inuse .

gives the values. 

You get similar results for Q ALLOC PAGE or TDISK. 

I have used host storage displays in the past but have found them to
sometimes be problematic when migrating to new releases, while the
documented command responses tend to be more change resistant and,
therefore, make it easier to maintain the EXECs.  

Regards, 
Richard Schuh 


-----Original Message-----
From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On
Behalf Of Imler, Steven J
Sent: Friday, March 30, 2007 12:09 PM
To: [email protected]
Subject: Re: Exec errors

Alyce,

The HOST storage display under z/VM 5.n have an "HL" prefix:

<<< snip >>>
d h20000.20
HL00020000  00000000 00000000 00000000 00000000 04 R00020000
<<< snip >>>

In previous releases, the prefix was only "H" ... I'm sure the "L" is
what's causing your EXEC to fail in this case.

JR

JR (Steven) Imler
CA
Senior Software Engineer
Tel:  +1 703 708 3479
Fax:  +1 703 708 3267
[EMAIL PROTECTED]
 

-----Original Message-----
From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On
Behalf Of Alyce Austin
Sent: Friday, March 30, 2007 02:32 PM
To: [email protected]
Subject: Exec errors

Hello,

I'm trying to run some execs to check spool, rdr and print files
on my test z/VM 5.2 system and this is what I get:
















SPOOL CONS * START

CHECKPRT
    11 +++ SPAV = X2D(SUBSTR(DIAG(8,'DISPLAY H'D2X(PGDSP+AV)),12,8))
DMSREX475E ERROR 40 RUNNING CHECKPRT EXEC, LINE 11: INCORRECT CALL TO
ROUTINE
READY(20040); T=0.01/0.01 10:39:19
CHECKSP
    10 +++ PGAV = X2D(SUBSTR(DIAG(8,'DISPLAY H'D2X(PGDPG+AV)),12,8))
DMSREX475E ERROR 40 RUNNING CHECKSP EXEC, LINE 10: INCORRECT CALL TO
ROUTINE
READY(20040); T=0.01/0.01 10:39:22
CHECKRDR
    11 +++ SPAV = X2D(SUBSTR(DIAG(8,'DISPLAY H'D2X(PGDSP+AV)),12,8))
DMSREX475E ERROR 40 RUNNING CHECKRDR EXEC, LINE 11: INCORRECT CALL TO
ROUTINE
READY(20040); T=0.01/0.01 10:39:25


They work fine on my z/VM 4.4 production system.

Any ideas what I need to change to get them to
work on z/VM 5.2?

Thank for your help,
Alyce

Reply via email to