Hidden Value – November 2002

Q: We have two disc drives from an old HP9000 we've stopped using. We would like to incorporate the two disc drives into the HPe3000 969/220 that we currently have. The two discs are the same model as the ones that we currently use on the 3000. We would like to add these discs to one of our user volume sets. The first SCSI slot on the back of the 3000 is full, but the second SCSI slot is available.

A: Stan Sieler replied:

Then add them on the second SCSI chain. At some point you ought to look at how the disk drive I/Os are distributed, and consider balancing them by moving disk drives from one SCSI card to another. (That assumes that both SCSI cards are of the same kind (e.g., both Single-Ended, or both Fast/Wide).

With the exception of LDEV 1, MPE generally doesn't care which LDEV a given volume appears at, so you could swap the disk drive that is volume W of set X on SCSI card A at SCSI id Y with the disk drive that is volume K of set L on SCSI card B at SCSI id Z, where X/X/Y/K/L/Z are pretty much independent of each other, being sure to change the two SCSI ids to each other's values.

Q: I am getting an IO status FFDD0071 on a KSAM file. The file can’t be purged, renamed or restored over. It reports a sector number OX1A7740. Does anyone have anything in mind to delete that sector/file in order to restore the file from a backup?

A: Larry Barnes, John Hornberger and Jeff Vance replied:

There is the 'rm' command in the POSIX shell and the PURGELINK command in the CI. Unlike the CI's PURGE command, these two commands do not open the target file.

Q: I'm trying to get an old 9x7 back up and running and it won't boot. Booting from the primary path yields:

Booting ...
Entry_Test Status = 0
Failed to Initialize
Entry_Init Status = -4

Can anyone shed some light on this?

A: Gavin Scott and Rich Trapp replied:

Do you have a SCSI terminator in place? [Editor's note: this was in fact the problem, no SCSI terminator.]

Q: I have an old Jamaica cabinet with some SCSI differential disk drives in it. Can I use this on my Intel-based server?

A: Denys Beauchemin replied:

You sure can. You will need to get a HVD controller. Look for an Adaptec AHA2944UW. They have it for $400. You can find them as pre-owned devices at other sites.

Q: I'm currently showing a high level of locks in Glance. Several sessions are showing impeded. What's the best way to drill down to see which session/process actually has what DB locked?

A: Ron Horner, Craig Lalley and Gavin Scott replied:

Use DBUTIL and the "SHOW <database> locks" command. DBUTIL has allowed fully qualified / non-creator database names for most commands like SHOW (if you have SM capability) since at least 6.0. So MANAGER.SYS can monitor any database on the system and there's no longer a need to log on as the database creator for this sort of thing.

Q: I know that there are some undocumented o/s variables for Turbostore. How I can find them?

A: Jon Backus and Greg Stigers replied:

Create job streams that log on, issue a 'showvar', then do STORE, RESTORE or VSTORE and then issue another 'showvar'. The additional variables in the second 'showvar' are the ones created by the TurboStore.

Q: Logged on as MANAGER.SYS I can get the User and Account passwords but I do not know how to get the group password. What is the command?

A: Ron Horner and Tony Newton replied:

If you have AM capability, then for any group in the account or if you have SM capability, then for any group on the system,

LISTGROUP groupname.accountname;PASS

Q: I'm new to MPE, and I thought I'd be clever and get around the need to use Editor by invoking the Posix shell and running vi. When I do that, I get the following: "Unknown terminal 'HP700/94'."

A: Ken Hirsh replied:

Specifically, in the shell,

export TERM=hp2392a

or, before you go into the shell,

setvar term "hp2392a"

Q: I have a client that is having trouble getting a LaserJet 8150 to print. The device is several networks/firewalls away. We have:

- configured the device in IOCONFIG
- added the entry to NPCONFIG
- netcontrol update;net=lan1
- issued a startspool 663 to get it going
- installed the latest 7.0 patches

If I send a report to it, the file stays in the PRINT state. FWIW, we can telnet into the printer.

A: John Burke and Chris Bartram replied:

The HP3000 spooler uses SNMP to obtain some printer status information from Jetdirect-connected network printers. Ensure that your firewalls let SNMP/SNMPTRAP traffic through between the 3000 and the printer (TCP/UDP ports 161 & 162).

If you cannot do that, or even if you can for that matter, add the "snmp_enabled=false" directive to npconfig for this printer. Then do a stopspool/startspool on the printer.

By the way, the netcontrol update... step was not needed.

Q: I have a CI variable that is a numeric string (like "2000") and I would like to set another CI variable to be a numeric string that is one less ("1999"). How can I perform math on the first variable? Is there a simple way (that I'm just not remembering) to convert a string variable to a number, and then back again?

A; Jeff Vance, John Clogg and Paul Christidis replied:

setvar x decimal(!y-1) -- or -- setvar x "![!y-1]"

Q: I recently upgraded our HP 3000 969-ks/400 from MPE 6.0pp2 to 7.0 express 1. I followed the instructions in the Software Maintenance Manual, and all the steps there went okay. However, when I issue the SHOWME command, I get

RELEASE: C.70.00 MPE/iX HP31900 C.39.06 USER VERSION: C.70.00

It appears not to know that I've put the express 1 patches on. Our N-Class box, which came with 7.0 Express 1 pre-loaded reports

RELEASE: C.70.01 MPE/iX HP31900 C.39.06 USER VERSION: C.70.01

Furthermore, when I print the first few lines of HPSWINFO.PUB.SYS, I get the following:

*******************************************************************
** **
** *** MPE/iX MIT C.70.00 *** **
** POWERPATCH C7001 P6 **
** THU, MAR 1, 2001, 5:02 PM **

While on our N-Class box with 7.0 express 1 preinstalled:

*******************************************************************
** **
** *** MPE/iX MIT C.70.01 *** **
** POWERPATCH C7001 P6 **
** TUE, MAY 22, 2001, 12:47 PM **

So, even though I followed all the steps, and they all looked like they ran properly, it doesn't appear that I got the Express 1 installed properly. Is there any other way for me to tell? If the install didn't go correctly, can I just reinstall the Express 1 as a PowerPatch, or do I need to do the complete reinstall process again.

A: John Burke, Michael Berkowitz and Gilles Schipper replied:

You do have Express 1 installed. The key line in each HPSWINFO is "POWERPATCH C7001 P6". Also, if you look towards the middle of HPSWINFO you will see a header for Express 1 and all the patches added.

You probably used only AUTOINST to do it, instead of AUTOINST to install the FOS and Patch/iX to install the Powerpatch. Had you used Patch/iX during the Powerpatch installation phase, you would have seen the USER VERSION reflect Powerpatch 1.

Factory pre-loaded systems are different animals altogether and typically do reflect the latest PowerPatch level in USER VERSION.

John Wolff added,

Should you like, you can set the USER VERSION yourself after the fact to 70.01 as follows:

Use SYSGEN and select: MISC
Enter the command: system userversion=C.70.01
Check it with: SHOW
Keep it with: HOLD
EXIT
Save the change with: KEEP
Make a new CSLT with: TAPE
EXIT

Now do an UPDATE from the new CSLT. The PowerPatch level will now be reflected in SHOWME.

Q: I'm trying to get a list of all the NMPROG files in an account, but ":listfile" does not seem to work as advertised:

listfile @.@,2;seleq=[code=nmprog]
                      ^
Expected a SELEQ value of FTYPE, OBJECT, ACCESS, FCODE. (CIERR 104)

A: Gary Jackson, John Burke and Mark Boyd replied:

An incorrect error message is confusion the situation. There is nothing wrong with "code"; i.e., it is not supposed to be "fcode". The problem is with "nmprog", which should be "nmprg".

Q: I'm working on a 967 and a 927, both running MPE 6.0. I need to change the IP address of the systems. In NMMGR I have found where to change the IP address of each system, but my problem is that these two systems are connected with a dsline so that files can be copied back and forth. Where in NMMGR do I go in order to update the IP addresses so that when a DSLINE command is given the system will be able to find the other HP?

A: Paul Courry, answering the question asked replied:

When you enter NMMGR, press f2 to get into the NSDIR file, then press f1, Update directory, to list all the DSline connections. Type in the one you want and press f6, modify.

[Editor's note: this is not necessary in most circumstances since when you try DSLINE the source system will send out a PROBE request using the machine name. For example, I have a machine with a node name of GERI, short for GERONIMO. GERI does not appear in any host file, DNS or NSDIR file, yet I can very easily DSLINE to it. Caveat: this might not work across a pair of routers with bridging disabled, making DNS or a HOSTS file necessary in this case.]

Along this line, Keven Miller noted:

I have erased my NSDIR entries. Just place the appropriate entries in your HOSTS.NET.SYS file, and DSLINE will find your other HP 3000s. For me HOSTS is much easier to edit.

If you have enabled DNS with a RESLVCNF.NET.SYS file, you can get the patch to enable NSSWITCH, which allows use of both files, RESLVCNF and HOSTS. I have preferred to check my HOSTS file first before DNS. My NSSWITCH file currently contains

hosts : files[SUCCESS=return NOTFOUND=continue] dns

Editor's note: At writing, the current NSSWITCH patches were

NSRGD65A MPE 6.0
NSRGD68A MPE 6.5
NSRGD69A MPE 7.0