[Migrated content. Thread originally posted on 10 March 2010]
I have the following statements (replaced a few characters in command with * for security) in a program:INITIALIZE CMD-FLAGS.
COMPUTE CMD-FLAGS = CSYS-SHELL
CSYS-HIDDEN
CSYS-DESKTOP
CSYS-ASYNC.
INITIALIZE DATA-LINK.
STRING "START "
"http://**********.****.net/ReportServer/"
"Pages/******Viewer.aspx?/***** Server Reports/"
"DataDump&rs:Command=Render&PCRID="
DELIMITED BY SIZE
WS-BI-PCR-ID DELIMITED BY " "
INTO DATA-LINK.
CALL "C$SYSTEM" USING DATA-LINK
CMD-FLAGS.
When we look at the data-link variable in debug it has the full correct value in it. The issue comes in when the CALL statement happens. In Internet Explorer when the HTTP address stops at the "&" character. So all we get is everything up to the "DataDump" part of the address and nothing after. This of course is an invalid address so the page does not come up. I have tried to use HEX values for the "&" and that did not help. I have also put "&" in other places in the address and where ever the "&" is the HTTP address ends in IE.
Has anyone ever had issues passing HTTP address like this before?



