help i have symilar code in the same file that is not trigering the error.
i am getting the following error.
line 111 ends pos-72
line 112 starts pos-7
12345678
109 01 WS-CRT-LINES.
110 03 WS-TOP-LNE2.
111 05 WS-TCR PIC X(80) VALUE "┌──────────────────────────
112 -"───────────────────────────────────────────────────┐".
113
114 03 WS-TP-LINE2 REDEFINES WS-TOP-LNE2.
gnuCOBOL 2.0
compiled 2.3.2016
windows 10 32bit
D:\gnucobol\bin\cobc.EXE -x -o ..\build-Dev\ttmenu\ttmenu.exe -std=cobol2002 -debug -IE:\TruckTrack\copybooks -IE:\TruckTrack\copybooks\fde ttmenu.cbl
ttmenu.cbl (114): Error: Continuation character expected
ttmenu.cbl (201): Error: Continuation character expected
Last edit: Anonymous 2016-02-10
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If at leas the last two characters of line 112 were truncated, that's the sort of error message you'd get, so I second Simon's point, but can't see from what you've posted how it would happen.
I dislike trying to count lots of identical characters, so I'd do the defintion something like this:
View and moderate all "Help getting started" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
help i have symilar code in the same file that is not trigering the error.
i am getting the following error.
line 111 ends pos-72
line 112 starts pos-7
12345678
109 01 WS-CRT-LINES.
110 03 WS-TOP-LNE2.
111 05 WS-TCR PIC X(80) VALUE "┌──────────────────────────
112 -"───────────────────────────────────────────────────┐".
113
114 03 WS-TP-LINE2 REDEFINES WS-TOP-LNE2.
gnuCOBOL 2.0
compiled 2.3.2016
windows 10 32bit
D:\gnucobol\bin\cobc.EXE -x -o ..\build-Dev\ttmenu\ttmenu.exe -std=cobol2002 -debug -IE:\TruckTrack\copybooks -IE:\TruckTrack\copybooks\fde ttmenu.cbl
ttmenu.cbl (114): Error: Continuation character expected
ttmenu.cbl (201): Error: Continuation character expected
Last edit: Anonymous 2016-02-10
Hi Anon, just some guessing:
And a suggestion what to do:
-W
to your command line and investigate the additional hints cobc gives youWhat is the exact output from
cobc -V
?Simon
BTW: please register/login, thank you.
If at leas the last two characters of line 112 were truncated, that's the sort of error message you'd get, so I second Simon's point, but can't see from what you've posted how it would happen.
I dislike trying to count lots of identical characters, so I'd do the defintion something like this:
I'd space it more neatly, and probably use FILLER, but it's only an example.
I avoid use of continuations except for fun.
View and moderate all "Help getting started" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
hello
used the -w and then the -V and it did not give any other hints that were usefull.
i did use your suggestion and so far it worked.
Thank you
As I've wrote before: Please add the not working source as attachement as I want to review this issue.
Thank you,
Simon