1-add " >> format is free" in the first line of the program because it seems to be in free format.
2- rename mda1doss.cpy to MDA1DOSS.cpy
Running the compile scripts generate way less errors.
serge@rubis ~/ttttt/code_303495 $ ./*.sh
COMPILATION DE > ./MDCFS20.cob
./MDCFS20.cob: in section 'TRAITEMENT':
./MDCFS20.cob: in paragraph '291-RECH-DOS-SUIVANT':
./MDCFS20.cob:70: error: invalid expression
./MDCFS20.cob: in paragraph '2911-VERIF-SERV-EXPL':
./MDCFS20.cob:80: error: 'DBO-LG-SER' is not defined
Hope it helps.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi everyone,
I am using Centos 8.
when i launch the compiler i have less or more error by version, i don't understand:
For example in version 3.1.2 i have this output:
Here is the code reproduced in attachment .
Thank for your help.
Bonjour,
Il semble que cobc ne trouve pas le copybook MDA1DOSS.cpy.la variable environnementale COBCPY est peut-etre mal initialisée.
Bonne chance!
It seems that cobc does not find the copybook. Set COBCPY to it's path.
Last edit: serge lacombe 2021-10-08
Hello Serge,
Thanks for your response.
I have uppercase the name of my copy file but I still have the other errors
I don’t know if you’ve test the reproduction of the problem in the attachment?
Thanks for your help.
Here is what i did:
1-add " >> format is free" in the first line of the program because it seems to be in free format.
2- rename mda1doss.cpy to MDA1DOSS.cpy
Running the compile scripts generate way less errors.
serge@rubis ~/ttttt/code_303495 $ ./*.sh
COMPILATION DE > ./MDCFS20.cob
./MDCFS20.cob: in section 'TRAITEMENT':
./MDCFS20.cob: in paragraph '291-RECH-DOS-SUIVANT':
./MDCFS20.cob:70: error: invalid expression
./MDCFS20.cob: in paragraph '2911-VERIF-SERV-EXPL':
./MDCFS20.cob:80: error: 'DBO-LG-SER' is not defined
Hope it helps.
Hello Serge,
Thanks for your response but what's the origin of the another error.
Thanks for your help.
Last edit: M_D 2021-10-11
First error in line 70: