As noted: it is likely reasonable to provide a file listing or at least the exact code around the error message.
Note: it is cobc -std=rm-strict (no space, -std=rm is a "lax" dialect which allows much more than RM/COBOL and, which can be an issue, has a maximum reserved word list)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Simon, I haven't given up on you and the team, I have helping a friend deal with
his medical problem right now, I am trying to get back in the game shortly.
Thanks for your patience
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I now see why I've missed that... The actual error is written in an attachment and about a runtime error where the this topic is about compile errors with code written for RM COBOL...
You likely get a nice runtime abend with some details when removing the io status clause from the file). Please try that, ideally with the most current GnuCOBOL version and if the result doesn't help you, create a new topic/discussion thread that includes a complete sample program that shows the issue along with the compile commands used (and potentially environment variables setup "specially").
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Guys I am sorry I just saw this email. I will test my prog againafter I make some changes that I think may be causing the prob and if it does the same thing as before I will do as you say
Last edit: Simon Sobisch 2024-01-22
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi @esrohjctsbt - any update on this?
Do you have a chance to get a compile error of "original RM/COBOL" sources when compiling with cobc -std=rm-strict?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It might be helpful to supply the code in question such as at 2510 and
2520 plus two lines before and after.
As it is - it is not.
Last edit: Simon Sobisch 2024-01-22
As noted: it is likely reasonable to provide a file listing or at least the exact code around the error message.
Note: it is
cobc -std=rm-strict(no space,-std=rmis a "lax" dialect which allows much more than RM/COBOL and, which can be an issue, has a maximum reserved word list)Simon, I haven't given up on you and the team, I have helping a friend deal with
his medical problem right now, I am trying to get back in the game shortly.
Thanks for your patience
Simon if you are not too busy, please take a look at my situation
I compiled the program then exe the program and got an IO error please see attached
I now see why I've missed that... The actual error is written in an attachment and about a runtime error where the this topic is about compile errors with code written for RM COBOL...
You likely get a nice runtime abend with some details when removing the io status clause from the file). Please try that, ideally with the most current GnuCOBOL version and if the result doesn't help you, create a new topic/discussion thread that includes a complete sample program that shows the issue along with the compile commands used (and potentially environment variables setup "specially").
Guys I am sorry I just saw this email. I will test my prog againafter I make some changes that I think may be causing the prob and if it does the same thing as before I will do as you say
Last edit: Simon Sobisch 2024-01-22
Hi @esrohjctsbt - any update on this?
Do you have a chance to get a compile error of "original RM/COBOL" sources when compiling with
cobc -std=rm-strict?