Click here for TSG sponsor message | |||||
Hidden Value details commands and
procedures in MPE that can improve
your productivity with HP 3000 systems. Get
a free NewsWire HP
3000 Always Online cap submit your
MPE tip directly to us here
at the NewsWire. Send your tips to
rseybold@zilker.net, or fax
them to 512-657-3264.
This can be done with LOGTOOL inside SYSDIAG. I typically use STATUS or STATUS DETAIL to get an idea about available logfiles (and dates they cover). The TYPES command gives a list of event type codes (it does not show which have been enabled in SYSGEN, though). The SUMMARIZE command is helpful to get an overview of logged events and LIST can be used to display/extract detailed info. Here is a typical example to invest past console messages by extracting them to an output file for further processing with PRINT, FCOPY or an editor of choice...
Notice that the OUTFILE option sends output to myfile.DIAG.SYS instead of $STDLIST. My favorite FCOPY;SUBSET to have a quick look at this is
The HELP facility inside LOGTOOL is
quite useful for further info.
Bradmarks Jerry Fochtman replies: There are a couple of ways, depending upon what you still want to run on the system. You can set the logon threshold to max which will prevent anyone without OP/SM from getting on:
The default logon threshold is 8. The possible range is 0-14. For a logon to be successful, the logon value must be greater than the systems setting. So if you set the system to 14, no users can logon as the maximum setting they can specify (with the ;INPRI= parameter on the HELLO/JOB command) is 14 and thus, cannot get over the fence. When done, the logon threshold is normally reset to 7. Given that the default logon value is 8, this will permit users to access the system again:
Of course, there are exceptions. Basically users with SM or OP capability can circumvent this by specifying ;HIPRI in their logon command:
The other technique is to constrain the number of users allowed to logon to the system. You do this with the LIMIT command. This controls the number of concurrent batch jobs and interactive sessions allowed on the system. By setting these limits to 0, no additional jobs or sessions are permitted to log on. Those that are already signed onto the system are unaffected. But when they logoff, they will not be permitted to logon again until the limit is raised:
The first parameter is for the number of concurrent batch jobs, and the second parameter is for the number of concurrent sessions. For more information, check the MPE HELP information on the JOBFENCE and LIMIT commands.
Barry Durand replies: Its simpler than you think. All I had to do was add two lines to the file RESLVCNF.NET.SYS and all worked fine. If the file does not exist, the file RSLVSAMP.NET.SYS can be used as an example. The two lines I added were:
where abc.def is the last two parts of
the domain name as specified
in NMMGR NS Configuration screen, and where
9.9.9.9 is the IP
address of the external DNS server. Donna Garverick replies: It sounds to me like you dont have MPEX available, so a command file would do what youre asking quite nicely. In shorthand, the steps in the file would be: 1) listf [whatever],6 > [message
file] Ideally, youd want to accept the
two file sets as parameters
rather than hard coding it straight into
the file. As manager.sys...
Log onto the target group and account and issue:
You must create a labelled tape and issue a file equation for the tape file:
Make sure the tape you put on the drive
is a scratch volume
(store a tiny file to it with STORE). Then
run FCOPY with a backreference
to the labelled tape. You may have to reply
to the job and direct
it to the tape drive, but it should work. Before you start, make sure you have enough labelled tapes to contain the whole file. You get a chance to write a label on the first tape, but not subsequent ones. I dont think you have to use a
scratch tape; any tape will
work. Also, skip the IBM. It
used to be that HP would only read
IBM tapes, not write to them. I presume
that is still true. The
default is ANSI. Were trying to transfer a file
using Reflection file transfer
with a record size of 460 bytes in ASCII
format. The file is about
93,000 records long. When the file
doesnt already exist on the
3000 with appropriate attributes we get a
HOST ERROR EXTENT SIZE
EXCEEDS MAXIMUM message. If the file
is already on the 3000 this
doesnt happen. How can we avoid the
error message? Bradmarks Jerry Fochtman replies: Use the |
|||||
Copyright 1998, The 3000 NewsWire. All rights reserved. |