HP3000-L Archives

May 2003, Week 5

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Michael Berkowitz <[log in to unmask]>
Reply To:
Michael Berkowitz <[log in to unmask]>
Date:
Fri, 30 May 2003 10:51:08 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (22 lines)
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 *

ATOM RSS1 RSS2