Support Group Logo
the SupportGroup inc
Sponsor Message

News Headlines
Tech Headlines
Plan Headlines
Front Page
Search the NewsWire
Hidden Value details commands and procedures in MPE (and some in Vesoft’s MPEX) 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, or fax them to 512.331.3807.

How can I create a command file that would be used to build a CM KSAM file? It needs to be a two-part CM KSAM file because it is used by a third party software package.

George Willis replies:

You can store the KSAM build parameters in a separate file and use the STDIN with the RUN command:


Brian Duncombe adds:

I have found that the following is often a useful technique:

:purge x
:echo erase dbtest > x
:echo show dbtest all >> x
:echo exit >> x
:save x
:purge x

Warnings: (1) The above example is not for building KSAM files; (2) Be careful to use “>” on the FIRST echo and “>>” on all subsequent ones.

We have a wide area network of HP 3000s at one location. Our WAN connection went down, and even after the connection was restored the 3000s still refused to use it. I ended up stopping the network and NS and starting them again to make the problem go away. Is there a less intrusive way of resetting the gateway after the connection is restored?

John Backus replies:

You may have been able to save yourself a network shutdown by using NETTOOL.NET.SYS. Once within NETTOOL, enter NAMEADDR and then ROUTING and then GATELIST. You will most likely see a column that indicates a deactivated gateway (router), that is ACTIVE column = “N.” Try issuing a GATEUP on the gateway IP address.

Richard Gambrell adds:

You may also use:

netcontrol link=<YOURNMMGRLINKNAME>;

I’m looking for some way of dialing from one 3000 to another and doing a file transfer. I’m considering FTP over a PPP connection. Can the 3000 support this?

Bruce Toback replies:

The 3000 can’t support PPP directly (or more accurately, could but doesn’t). However, one very cheap solution is to use Linux boxes as routers on a point-to-point private network. You can pick up used computers perfectly suitable for running Linux at a cost of under $100 (and frequently under $50). Add a modem and a network card, and configure the boxes for automatic dialing.

If you do this, make sure you set the connect timeout on the HP 3000 to something high enough to allow for dial time. The default of one minute is usually enough if the connection is reliable, but won’t allow time for a redial if the first connection attempt fails.

As I look at the tztab.lib.sys file, I see that there are many time zones which are not listed in the file. Where do I get the rest of the :time zone definitions?

HP’s Walter Murray replies:

Make sure you have the complete file. The EOF should be 285. If you need to customize the file with additional time zones, refer to Appendix A of the HP C/iX Library Reference Manual.

Can I use LISTF to list just certain types of files, like only NMPRG, QPROC, PROG, SL, PRIV or KSAM?

Glenn J. Koster, Sr. replies:

Yes, LISTF will work on all types of files, but you can’t simply pick and choose by filecode (file type). To do this you either need to have MPEX (good investment!) or you will need to write some MPE command code to extract the file types you are looking for (not a wise investment of time).

HP’s Jeff Vance adds:

You can use the LISTFILE command to select only files that match a filecode. LISTF does not support this. This became available in MPE/iX 5.5 PowerPatch 3. Try:

listfile <pattern>,6;seleq=[code=mnemonic]

You can also specify a filecode number or “PRIV” to see negative file codes. LISTFILE ....;TEMP or ;PERMTEMP shows temp files (both MPE names and POSIX names). LISTFILE can now also filter based on filecode (CODE=) and file access (ACCESS=inuse | open | exclusive | locked).

I want to print out a hardcopy of the paths and devices from sysgen. I have a hard copy from the prior system manager and the listing is labeled ‘SYSGLIST.’ I set up a file equation of file sysglist;dev=printer, but when I go into SYSGEN and then IO, how do I get the listing to go to the printer? If I do LP or LD, it still appears on my screen.

Mike Hornsby replies:

Try these commands:

:file lp;dev=lp,1,1
sysgen ,,,*lp

Note that everything is sent to the output file, so you don’t get any prompts!

Art Frank adds:

Try typing LP DEST=OFFLINE. SYSGLIST won’t be sent to the printer, however, until you exit SYSGEN or issue the OCLOSE command.

I’m cleaning up our sysstart file, and within it we are streaming jobs to do certain tasks.When streaming the jobs and the job requires a password, how can I stream this job without embedding the password in the JCL?

Shawn Gordon replies:

You can specify the system parameter JOBSECURITY LOW;PASSEXEMPT=MAX, which will let you stream a job without a password for a logon whose password you have the capability to look up. Or if you just stream it, it will prompt at submission time. (Or if you have Vesoft’s STREAMX or a similar product, you can configure it appropriately.)

How can I get rid of the esc code in a spoolfile and download it to a PC as a ordinary ASCII file only?

Jim Kramer replies:

In Quad, it would actually be much faster to not text the file, and instead issue the command:

/c 1/1 to ““ in <filename>

This makes the changes directly to the file instead of to a work file. More dangerous, too.

How can I configure at a global-level the maximum queue that a session could specify as logon time? I want to be able (as MANAGER.SYS) to log on with ‘;PRI=BS’ on those occasional, yet troublesome instances, when some process has taken over the system. With BS priority, I can then be at a higher level and troubleshoot what’s going on.

Gilles Schipper replies:

If you mean from sessions only, all you need to do is give the account first, then the user within the account the appropriate capability.

For example,




However, I believe MANAGER.SYS is delivered with the appropriate account and user attributes, and I wouldn’t want to change them without a very good reason.

If you want jobs to execute in the BS queue (and I’d be very careful here), you have more work to do:

1. At console, from manager.sys or operator.sys, type:

jobpri 0,ds

You can embed this command in if you want it to be executed upon each boot. This command permits jobs to have unlimited execution priority — with a default of DS.

2. Use the ALTACCT and ALTUSER commands appropriately, as above, to outfit your user.accounts with the ability to initiate a job in the higher queue.

3. Use the ;PRI=CS (or BS) option in the job command.

Copyright The 3000 NewsWire. All rights reserved.