Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Andrzejek on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ProCobol 9.2 and Fujitsu PowerCobol 2

Status
Not open for further replies.

erba

Programmer
Jan 18, 2001
34
SK
Hi all,
Have someone of you tried using Oracle Procobol 9.2 with Fujitsu PowerCobol version 7?
I am getting errors on good cobol code that I have never seen with procobol 8.05.
Example :
IDENTIFICATION DIVISION.
PROGRAM-ID. MAIN-FORM.
ENVIRONMENT DIVISION.
CONFIGURATION SECTION.
SPECIAL-NAMES.
DECIMAL-POINT IS COMMA
ENVIRONMENT-NAME IS ENV-VAR-NAME
ENVIRONMENT-VALUE IS ENV-VAR-VALUE.
.......................................1
PCB-S-00400, found simbol "<end-of-source>" instead of
+ - / . : id END-EXEC literal [ ]

It does not like the point at the end of ENV-VAR-VALUE.
Why ???

Thanks.

Erminio

 
from Oracle
The DECIMAL-POINT IS COMMA directive must be the last statement in the SPECIAL-NAMES SECTION or precompilation will fail

So change it to be.

ONFIGURATION SECTION.
SPECIAL-NAMES.
ENVIRONMENT-NAME IS ENV-VAR-NAME
ENVIRONMENT-VALUE IS ENV-VAR-VALUE
DECIMAL-POINT IS COMMA.

Regards

Frederico Fonseca
SysSoft Integrated Ltd
 
Great, Frederico, it works !!!
You are really one of the best guys in the forum.
Thank you very, very much.

Erminio.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top