HI. I have a user testing COBOL program and upon execution they are getting an error because the runtime cannot find the file libcob.4.dynlib. See attached screenshot. Can anyone advise. I don't have access to his Mac so i'll need to troubleshoot remotly so any guidance will be great. Thank you!
Yeah, i'm OK with the space. Once I've removed the "/" I append some more text to the URL. In fact i'm running a Python script from COBOL, the script uses a URL as an input, then I redirect the output of the script to a file, that the COBOL program picks up and processes. So the final thing looks a little like: myPythonScript.py https://www.example.com/robots.txt >> temp.file I call that using SYSTEM. The URLs come from a supplied text file, sometimes they end in "/" and sometimes not. So I parse...
RESOLVED. So I removed the https://www. using SUBSTITUTE then replaced all remaining "/" with spaces, again using SUBSTITUTE.
Good point. My bad. The string is a URL so it contains multiple /'s https://www.example.com/ I should have mentioned that.
Hi folks, I can't figure this one out. As the title suggests. I have a string, if the last character of the string is a "/" then I want to remove it. Can anyone suggest how I can do this? Many thanks for any help and advice.
Thank you Eugenio ! That worked.
I have a pic 9(9) and I don't want to see a prompt of 000000000 on ACCEPT. How can I change that?
Thank you Simon, i'll give those ideas a go.