|
inSet environment variables thusly:
PTH1=/path1:/path2:/path3...
PTH2=/path41:/path42:...
PTH3=...
CLASSPATH=${PTH1}:${PTH2}:{$PTH3}
Note that I have not tried this with ADDENVVAR. I have done this
$PTH1 -
I can confirm (sorry) that this will not work. Once this is set,
$PTH3 will all be set as planned, and CLASSPATH will have this exactvalue:
${PTH1}:${PTH2}:${PTH3}
Right you are. I just tried it at V4R3, and ${varname} does not expand
the variabble. Just another case of me getting use to a beyond-POSIX
extension without realizing it, I guess. Sigh. Can IBM not give us a
modern shell?
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.