Scott,
Thanks for your response. I guess what I'm looking for is an example of
the exact contents of the "Environment string" that someone has used
successfully. I believe I have it coded correctly and it does not fail or
issue an error code in the API, but the called program that follows does
not retrieve the correct query string when it issues a QtmhGetEnv.
Rich
--------------------------------------------------------------------------
Scott Klement wrote:
You could use QtmhPutEnv() for that.
However, I would suggest using the regular putenv() API. It does
exactly the same thing, but is much easier to code, IMHO.
Alternately, you could just use the ADDENVVAR/CHGENVVAR CL Commands.
Rich Loeber wrote:
Does anyone have experience with this procedure? Can I use it to reset
the QUERY_STRING in effect before issuing a direct CALL to a program that
then uses the QtmhGetEnv to retrieve the value. Sometimes I want to call
the program from a link using the query string but I also have a situation
where I'd like to call it directly.
Rich Loeber
Kisco Information Systems
http://www.kisco.com
As an Amazon Associate we earn from qualifying purchases.