Paul Brooks writes
I am looking for a way to access HP System variables (in this case
HPJOBNAME) from a compatibility mode program (SPL). I could write a
switch
program to HPCIGETVAR. Any other (simpler) ideas?
------------------------------------------------------------------------
---
Or you could do a :SHOWVAR into a file via a call to the COMMAND
intrinsic, open the file and read the results.
:FILE L;TEMP;DEV=DISC;SAVE;NOCCTL;REC=-80,,F,ASCII
:SHOWVAR HPJOBNAME >*L
Mike Berkowitz
Guess? Inc.
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *