Subject: | |
From: | |
Reply To: | |
Date: | Thu, 5 Dec 1996 17:10:04 -0500 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Tim,
I just wrote this little command file to print out only the file
equations that you are looking for. The only requirement is that you
must be on at least MPE/iX 5.0 or have the GREP utility from the CSLXL
tape available to you.
PARM FILEIN=NONE
SETVAR FILENAM "!FILEIN"
SETVAR FILESRCH "!FILEIN"+";"
IF FILENAM = "NONE"
LISTEQ
ELSE
PURGE TEMP9999
BUILD TEMP9999;REC=-80,,F,ASCII;DEV=DISC
FILE TEMP9999=TEMP9999,OLD;ACC=APPEND
LISTEQ>*TEMP9999
ECHO
GREP.HPBIN.SYS;INFO="-e !FILESRCH TEMP9999"
ECHO
RESET TEMP9999
ENDIF
** NOTE: Make sure you use a lowercase "e" in the INFO string or the
command will not work!! The file TEMP9999 is used just so that
you won't accidentally purge a file that you really need.
Regards,
John Hornberger
Sr. Systems Programmer
General Signal Services
______________________________ Forward Header __________________________________
Subject: LISTEQ QUESTION
Author: Timothy Hoefner <[log in to unmask]> at Internet2
Date: 12/5/96 10:05 AM
On our 960 and 980 systems we have quite a few file
equations and most of the time, I only want to check
the setting of one equation.
Does anyone by chance have a modified listeq which
will allow you to enter for example:
:LISTEQ filename
and have it return just that file equation?
I have an idea as to how to do it but thought I'd ask the
HP guru's first. I claim to be a guru in training at our
site!
Thank You
Tim Hoefner, Senior Programmer/Analyst
El Paso Community College
P.S. This is a great list and I feel honored to be on it
with some of the great HP minds whose names I
recognize. Thanks Jeff!
|
|
|