Dave,

I'm not too sure, but it looks like QUERY_STRING has been escaped (the "/"
has been translated to a more friendly "%61").  But when you refer to
variable $(a) explicitly, it unescapes it.

Just curious, why are you using the QUERY_STRING anyway?  It may prove to
be problematic for you, as Net.Data does not appear to give you a way to
unescape a string.

Mike E.






  OK, here's the situation. Actually, let me simply show you the code.


  %DEFINE QUERY_STRING = %ENVVAR


  step 1---> $(a) <---

  step 2---> @callcgipgm() <---

  step 3---> $(QUERY_STRING) <---


  OK. Now, what I'm trying to determine is when I pass a value in parameter
"a" of "d/d", my
  results in steps 1 and 2 come up correct, "d/d". But, when step 3 occurs
my result is "d%61d".
  Now, I've scene examples that show that this doesn't have to happen.


  What I was hoping for was for someone to tell me shy it is happening.


  Thanks alot in advance.

  dav












David L. Mosley, Jr.
Systems Analyst
2000 CentreGreen Way
Suite 250
Cary, NC 27513

www.dancik.com


_______________________________________________
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.






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.