this one is simple: "not implemented" is thrown when the first part of implementation (parser) is done but a stub. And GC 1.1 doesn't implement 'ACCEPT .. FROM ESCAPE KEY'.
The fix is to move on to GC 2.0 which implements (together with many other things) 'ACCEPT .. FROM ESCAPE KEY' - thank you for letting me check, will add this missing bit to the Changelog (sadly the big step from OC 1.1 to OC 2.0 (and therefore the step from GC 1.1 to GC 2.0, too) miss many Changelog entries). Seems like current OCIDE has an configuration to use another compiler path, you may want to get a 2.x version, put this to another path, set OCIDE'S configuration accordingly and try again.
BTW: GC 2.0 still wants "VALUE" added as you did but the program does what it's told to: on "ACCEPT FORM2" the first two bytes of LINE 24 will be overwritten by last value of ESC-CODE.
Simon
Last edit: Simon Sobisch 2015-02-15
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2015-02-16
Hi sir Simon, thank you very much for your response, Ill try it and Ill get back to you when its done. thank you again
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2015-02-16
Sir Simon I've downloaded the open-cobol-2.0 but the problem now is when I link it for custom compiler with OCIDE it just says "Cannot find cobc.exe". Im sorry if this is just so simple.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Where did you downloaded it from? Please try to open the cobc.exe you point OCIDE to directly, if it get's "xyz is missing" then install xyz (would be VisualStudio 2012 runtime if you use the gnu-cobol-2.0 nightly from the download area - which would itself a cl.exe (Microsoft's C compiler)).
Simon
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2015-02-16
Hi Simon, I've now managed to link the OCIDE to GNU Cobol v2 but I got another error message,
Configuration Error
default.conf:34: Unknown configuration tag 'default-organization'
default.conf:55: Unknown configuration tag 'auto-initialize'
default.conf: No definition of 'standard-define'
default.conf: No definition of 'cobol85-reserved'
default.conf: No definition of 'hostsign'
default.conf: No definition of 'accept-update'
default.conf: No definition of 'accept-auto'
default.conf: No definition of 'section-segments'
default.conf: No definition of 'alter-statement'
cobc: Error: Invalid option -std=default
what should I do? :(
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
cobc points to a different configuration directory than you've placed it.
Run cobc --info to see the current directories it's looking at (below GNU Cobol information). You may change them by setting the appropriate environment vars (for example COB_CONFIG_DIR=D:\PlacedGnuCOBOLhere\config). The fastest way is likely to start OCIDE using a batch which has the appropriate SET COB_xyz=abc entries in).
Simon
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi I am currently having a problem with COBOL.
Before I was using Microsoft COBOL Compiler version 2.2 and I have this code that completely worked fine.
Now I am using OpenCobol IDE 4.3.0 having GNUCobol version 1.1.0 and I am being prompted with this lines of
here
so I fix them by adding VALUE keyword:
but as soon as I do this I get a another prompt of
on this line
What could be the possible cause of this? and What could be the fix for this?
Thanks in advance.
Last edit: Simon Sobisch 2015-02-15
Hello Anonymous,
this one is simple: "not implemented" is thrown when the first part of implementation (parser) is done but a stub. And GC 1.1 doesn't implement 'ACCEPT .. FROM ESCAPE KEY'.
The fix is to move on to GC 2.0 which implements (together with many other things) 'ACCEPT .. FROM ESCAPE KEY' - thank you for letting me check, will add this missing bit to the Changelog (sadly the big step from OC 1.1 to OC 2.0 (and therefore the step from GC 1.1 to GC 2.0, too) miss many Changelog entries). Seems like current OCIDE has an configuration to use another compiler path, you may want to get a 2.x version, put this to another path, set OCIDE'S configuration accordingly and try again.
BTW: GC 2.0 still wants "VALUE" added as you did but the program does what it's told to: on "ACCEPT FORM2" the first two bytes of LINE 24 will be overwritten by last value of ESC-CODE.
Simon
Last edit: Simon Sobisch 2015-02-15
Hi sir Simon, thank you very much for your response, Ill try it and Ill get back to you when its done. thank you again
Sir Simon I've downloaded the open-cobol-2.0 but the problem now is when I link it for custom compiler with OCIDE it just says "Cannot find cobc.exe". Im sorry if this is just so simple.
Where did you downloaded it from? Please try to open the cobc.exe you point OCIDE to directly, if it get's "xyz is missing" then install xyz (would be VisualStudio 2012 runtime if you use the gnu-cobol-2.0 nightly from the download area - which would itself a cl.exe (Microsoft's C compiler)).
Simon
Hi Simon, I've now managed to link the OCIDE to GNU Cobol v2 but I got another error message,
what should I do? :(
cobc points to a different configuration directory than you've placed it.
Run cobc --info to see the current directories it's looking at (below GNU Cobol information). You may change them by setting the appropriate environment vars (for example COB_CONFIG_DIR=D:\PlacedGnuCOBOLhere\config). The fastest way is likely to start OCIDE using a batch which has the appropriate SET COB_xyz=abc entries in).
Simon