2.21 On our 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 have a modified LISTEQ which will allow you to enter, for example:
:LISTEQ filename
and have it return just that file equation?
There is a file named HPPXUDC.PUB.SYS that comes with all 5.0 and later systems that contains a set of UDCs. There is a UDC in this file named HPPARSEFEQ, which will scan all of your file equations had extract the one you ask for.
E.g.,
:LISTEQ
FILE EQUATIONS
FILE LP;DEV=LP
FILE PP;DEV=PP
FILE ELITE;DEV=PP;ENV=ELITE.HPENV.SYS
FILE LP602;DEV=PP;ENV=LP602.HPENV.SYS
FILE T;DEV=TAPE
:hpparsefeq lp602 foo # foo is the name of a CI var
:showvar foo
FOO = LP602;DEV=PP;ENV=LP602.HPENV.SYS