Click for theSupport Group
inc Sponsor Message |
||||||||||||
|
||||||||||||
|
||||||||||||
Hidden Value details
commands and procedures in MPE (and some in Vesofts 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 editor@3000newswire.com, or fax them to
512.331.3807.
Ive read your suggestions in past issues about the listfile command. I am running MPE/iX 5.5 Express 4. Jeff Vance wrote the syntax for listfile was :listfile <pattern>,6;seleq=[code=mnemonic]. However, Code is not a choice in my version FTYPE is, and then I have only a choice of KSAMXL or SPOOL. Whats up? HPs Jeff Vance replies: Well, I sure thought this feature was in 5.5 PowerPatch 3, but maybe not. I asked our Patch coordinator to find out the earliest 5.5 release that contains this enhancement. MPEJXR6 is the internal patch ID for the LISTFILE enhancement that supports CODE= in the selection equation, and the LISTFILE,access feature as well. I know of several customers who used Patch/iX to install the PowerPatch but did not install any patches that are considered enhancements. By default these enhancement patches are not installed by Patch/iX, and the customer must explicitly choose them. HP Patch coordinator Michael Dovano adds: Since this was an enhancement patch, keep in mind that if the customer installed Express 3 or 4 with Patch/iX, the patch might not have made it on his system by default unless he forced it on. This is one of my favorite annoyances regarding Patch/iX: enhancement patches are naturally disqualified if they are coming from a PowerPatch tape (as a result of some design decision that was made sometime back). This trips up a lot of our customers. Id check to make sure the patch is on his system. If not, he can probably download it from HP ESC, or go back to his PowerPatch tape and force it on. Im really tired of typing the whole string MPEXL_SYSTEM_VOLUME_SET during system maintenance chores. Isnt there any way around this annoyance? HPs Lars Appel replies: Just consider placing the following in your Logon UDC:
Your life can become something like...
I see that Bind and Syslog are now bundled with the HP 3000 in MPE/iX 6.0 but I dont even know where to begin to configure and set up to run this stuff. Joe Geiser replies: Syslog shouldnt need configuration at all its plug and play. Bind (Domain Name Services) needs to have configuration files put together. If you dont need DNS, then you wont need BIND, however. I know that MPEX has a SEARCH facility within its PRINT command, one that will search all files in the specified group/acct (wildcards permitted). But where I am working this month, MPEX is not available. How else can I do this search? Mark Bixby replies: Posix can do this for you from SH.HPBIN.SYS: To search for searchstring in all files in a group:
To search for searchstring in all files in an account:
If you want a case-insensitive search, use grep -i. How can I limit the number of sessions a specific user can have? HPs Lars Appel replies: Heres a suggestion mixing vanilla MPE and Posix features:
This will only work if each user has a unique logon. If multiple people share a common MPE logon, an approach based on HPREMIPADDR might be more appropriate, maybe by scanning LISTFILE /!hpacct,8 output. [Editors Note: Vesofts MPEX can limit the number of logons a user can have simultaneously. Administrators can exclude MANAGER.whatever so they can get in on an emergency basis. Vesofts Security/3000 also provides this functionality.] Where can I find a program that converts an IMAGE schema to COBOL Working Storage? Id like to see some sample C code that uses IMAGE databases. HPs B T Vikram Kumar replies: The TurboIMAGE manual has sample C code, that uses IMAGE intrinsics. Please refer to the chapter on Host Language Access. Can a private volume set be changed to additional system volume members, and then restore the files of the private volume set to the new system volumes? Michael D. Hensley replies: Sure! 1. Store all of the files on the User Volume Set
2. Dismount the user volume set
3. Use VOLUTIL to SCRATCH each of the discs
4. Use VOLUTIL to NEWVOL each of the discs
5. Alter all of the groups that were on the userset to HOMEVS= (or PURGE all of the groups/accounts) 6. Restore the files to the system volume set
Step 5 is the most work... |
||||||||||||
Copyright The 3000 NewsWire. All rights reserved. |