Hi,
I have a really very big link of 900 in length. I am writing this link in a .BAT (Batch) file using STRPCCMD command in RPG application.
But while writing into batch file if link contains "%" character then it is not writing this character instead some different character is been written to .BAT file. Therefore my link is not opening when I run that .BAT file.
Below is the example of my RPG.
Eval Buffer = 'STRPCCMD PCCMD(CMD)'
Here CMD contains that linke like = 'http://share.abc.com/Release%20Migration/Forms/AllItems.aspx?RootFolder=%2Fknowledge%2FITFORMS%2F Release%20Migration'
While writing through my RPG application how do I take care that link should get written as it is if it contains "%" character as above link contains?
Please suggest me the way while writing to .BAT file.
I have a really very big link of 900 in length. I am writing this link in a .BAT (Batch) file using STRPCCMD command in RPG application.
But while writing into batch file if link contains "%" character then it is not writing this character instead some different character is been written to .BAT file. Therefore my link is not opening when I run that .BAT file.
Below is the example of my RPG.
Eval Buffer = 'STRPCCMD PCCMD(CMD)'
Here CMD contains that linke like = 'http://share.abc.com/Release%20Migration/Forms/AllItems.aspx?RootFolder=%2Fknowledge%2FITFORMS%2F Release%20Migration'
While writing through my RPG application how do I take care that link should get written as it is if it contains "%" character as above link contains?
Please suggest me the way while writing to .BAT file.
Comment