× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Crispin,

Thanks for the idea. I copied that code and tried it. When I run it
interactively, It prints out 6 system level *SYS level variables plus my
one *JOB level variable that I created. I am aware that these are all
really at the *JOB level since it makes a copy of the *SYS level variables
to the *JOB level. I then submitted the same program to batch using the
following command "SBMJOB CMD(CALL PGM(TEST5R)) JOB(RTVB1)
CPYENVVAR(*YES)". The printout from that job only shows the *SYS level
variables, not the variable I added in my interactive job. It sure is
strange.

Dean

On Thu, 10 Dec 2009 09:41:23 -0500, in midrange.midrange-l you wrote:

Dean,

Scott posted a program that lists all of the EnvVar's here
http://archive.midrange.com/midrange-l/200712/msg00131.html

Instead of trying to retrieve the JDETESTVAR envvar, run the report and
see
what is set in the batch job. Perhaps that will help point to the issue.
At
least it will show you if the JDETESTVAR is missing or not...

Crispin.


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

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.