Patrick,
If you have AM privs in the SAME ACCOUNT as creator of the spoolfile, you will be able to access the spoolfile. I use listf file,-1, which produces output like below. DISC is the device class of the storage its on, OUT and HPSPOOL are the group and account belongs to, MGR.STOCK2K is the creator, BUT you need SM capability to do a listf -1, so that’s not much help to you....dont forget that user names are NOT global, they are unique with accounts. You may need help from the mpe equivalent of root - Manager.sys who can see everything and do anything to anybody anywhere...almost.
If you do a
Listspf @
This will show you all the spoolfiles on the system, and who they belong to, as in
-------------------------------------------------------------------------
:listspf @;seleq=[dev=430]
SPOOLID JOBNUM FILEDES PRI COPIES DEV STATE RSPFN OWNER
#O1396248 S9186 LP 1 2 430 READY MGR.STOCK2K
INPUT SPOOL FILES OUTPUT SPOOL FILES
ACTIVE = 0; CREATE = 0; READY = 1;
OPEN = 0; DEFER = 0; SELECTED = 0;
READY = 0; DELPND = 0; SPSAVE = 0;
PRINT = 0; XFER = 0;
PROBLM = 0;
TOTAL IN FILES = 0; TOTAL OUT FILES = 1;
IN SECTORS = 0; OUT SECTORS = 32;
OUTFENCE = 7
---------------------------------------------------------------------------
Could as easily do it on one spoolfile instead of @ (=all, =unix *)
What are you trying to find/fix??
jp
In general, key in HELP, CR then the command you are interested in, and you will get lots of help on it.
::listf o1396248.out.hpspool,-1
F = O1396248
00000000 44495343 20202020 20202020 20202020 20202020 ....DISC
20202020 20202020 20202020 20310000 4F313339 36323438 1..O1396248
20202020 20202020 4F555420 20202020 20202020 20202020 OUT
00000000 48505350 4F4F4C20 20202020 20202020 00000000 ....HPSPOOL ....
20202020 20202020 20202020 20202020 4D475220 20202020 MGR
53544F43 4B324B20 F8000000 04000000 04650001 31CFB8D3 STOCK2K ½........e..1ü¡Æ
00012945 00000501 04000300 0003EF32 1C2394A4 0003EF32 ..)E..........ÿ2.#.Ê..ÿ2
1C2394A4 0003EF32 1C245D00 0003EF32 1C245F4A 00001C00 .#.Ê..ÿ2.$]...ÿ2.$_J....
00000020 00000007 0000011F 00000006 00000000 00000000 ... ....................
00001C00 00000000 00000000 00000000 000003F0 00000400 ...................Þ....
00010000 00000000 000005EC 20200000 ...........š ..
:
-----Original Message-----
From: HP-3000 Systems Discussion [mailto:[log in to unmask]] On Behalf Of pburleson
Sent: Thursday, 24 February 2005 2:17 AM
To: [log in to unmask]
Subject: [HP3000-L] Questions about finding out the contents of a job file
Hello all,
I inherited some system admin duties for a HP 3000 running MPE 6.5
yesterday. And yesterday was the first day I had ever heard of MPE. :-)
I got my feet wet by reading most of the book "MPE/iX System
Administration Handbook" by Jon Diercks. This gave me a basic idea of
how to log on and how to go looking around the file system.
I have a background with administrating Solaris and Linux, so the MPE
environment is certainly a bit of a system shock. But my biggest
problem right now is trying to figure out the commands being run by
some scheduled jobs. I have read the thread in this group with the
subject "Mystery Job".
(http://groups-beta.google.com/group/comp.sys.hp.mpe/browse_thread/thread/e60ac356921ce190/)
While trying the PRINTSPF command on the spool file, I get the
following error:
The access privilege level exceeds the caller's privilege level. (FILE
OPEN
ERROR -465)
File System message 465
Now it seems by looking around this mailing list I am being denied
because my user was not the creator of the file. But I thought since my
user had AM capabilities, I could read the file anyway. I'm also having
trouble figuring out who the creator of the file is. Using LISTFILE and
it's various options of ,2,3,4,etc, the screen shows a couple of funny
characters where the creater should be.
So my questions are:
1. How can find the creator of this file?
2. Better yet, is there a privilege my user can gain to read this file.
3. What is a good place to look up very thourogh documentation of the
commands like LISTFILE? Especially documenting what all the options
actually do?
Also, any pointers to recommended reading or other MPE information
would be greatly appreciated.
Thanks,
Patrick
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|