File equations UNIX (sort of)?
Glenn Mitchell
g.mitchell at computer.org
Tue Nov 8 14:28:37 CST 2005
I'm guessing the shell you're using doesn't handle setenv. You can run
another shell or you might try:
set PAY=/archive/pay
Or simply
PAY=/archive/pay
Follow it by
export PAY
To make it an environment variable that is passed to subshells and programs.
You can also combine these:
export PAY=/archive/pay
It all depends on the shell you use. Don't you just LOVE *NIX?
Glenn
-----Original Message-----
From: powerh-l-bounces+g.mitchell=computer.org at lists.sowder.com
[mailto:powerh-l-bounces+g.mitchell=computer.org at lists.sowder.com] On Behalf
Of Elisabeth Corsten
Sent: Tuesday, November 08, 2005 9:19 AM
To: powerh-l at lists.sowder.com
Subject: File equations UNIX (sort of)?
Dear All,
migrating from MPE to UX we have hit another question:
Is there another possibility of replacing MPE file equations (file
tempfile=permfile) than using system variables? The "Migration Guide",
otherwise very helpful, states:
...For example,
FILE PAY=PAY.ARCHIVE
would be replaced with
setenv PAY /archive/pay.
Unfortunately our Unix/scripting language/whatever doesn't understand this
command(?).
Any ideas (or even syntax examples??)
Thanks in advance
Elisabeth Corsten
EC Datentechnik GmbH
Germany
More information about the powerh-l
mailing list