If someone has defined an environment variable at *SYS level:

ADDENVVAR ENVVAR(foo) VALUE(bar) LEVEL(*SYS)

How can I eliminate this from having an effect in my job? I want my job
to run as if this variable was never defined.

Would I have to explicitly include code in my job, such as:

RMVENVVAR ENVVAR(foo) LEVEL(*JOB)

?

If I specify CPYENVVAR(*NO) on SBMJOB, would this do the trick? The
description doesn't lead me to believe so. I'm not so concerned about
copying env vars from the submitting job as wanting to ignore the *SYS
level env vars that are in place.

THANKS,
-Marty

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 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].