User Activity

  • Posted a comment on discussion Help getting started on GnuCOBOL

    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!

  • Posted a comment on discussion GnuCOBOL on GnuCOBOL

    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...

  • Posted a comment on discussion GnuCOBOL on GnuCOBOL

    RESOLVED. So I removed the https://www. using SUBSTITUTE then replaced all remaining "/" with spaces, again using SUBSTITUTE.

  • Posted a comment on discussion GnuCOBOL on GnuCOBOL

    Good point. My bad. The string is a URL so it contains multiple /'s https://www.example.com/ I should have mentioned that.

  • Posted a comment on discussion GnuCOBOL on GnuCOBOL

    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.

  • Posted a comment on discussion GnuCOBOL on GnuCOBOL

    Thank you Eugenio ! That worked.

  • Posted a comment on discussion GnuCOBOL on GnuCOBOL

    I have a pic 9(9) and I don't want to see a prompt of 000000000 on ACCEPT. How can I change that?

  • Posted a comment on discussion GnuCOBOL on GnuCOBOL

    Thank you Simon, i'll give those ideas a go.

View All

Personal Data

Username:
flaneur7508
Joined:
2021-01-13 05:49:31
Location:
CEST
Gender:
Male

Projects

  • No projects to display.

Personal Tools