Hello all! I'm trying to call the STRPCCMD command in my CL program, but it appears that the URL gets truncated when it hits the first apersand, missing the rest of the URL. I'm assuming there is a simple way around this issue, but I'm not sure how to code it.
If any of you have run into this issue could you please enlighten me? Here's an example of a URL that I'm trying to call. The only thing that is being sent to the browser is up to "track=yes".
call urltest ('https://wwwapps.ups.com/WebTracking/track?track=yes&trackNums=1Z0E03670312546708&loc=en_us')
Here's the simple CL code:
DCL VAR(&URL) TYPE(*CHAR) LEN(123)
DCL VAR(&URLCALL) TYPE(*CHAR) LEN(123)
CHGVAR VAR(&URLCALL) VALUE('start' *BCAT &URL)
STRPCCMD PCCMD(&urlcall) PAUSE(*NO)