Hi , I have been trying to convert some cobol codes to java using your tool. The tool works fine for almost all basic codes. But im facing an issue which is when i try to convert cobol which includes a copybook including database variable declaration statements and its corresponding cobol mapping, it throws following error :
Parsing Cobol started for: /xx/xxxxx/check.cob
com.res.cobol.parser.ParseException: Encountered " "TABLE" "TABLE "" at line 0, column 33.
Was expecting:
<EOF>
com.res.cobol.parser.ParseException: Encountered " "TABLE" "TABLE "" at line 0, column 33.
Was expecting:
<EOF>
com.res.cobol.parser.ParseException: Encountered " "TABLE" "TABLE "" at line 0, column 33.
Was expecting:
<EOF>
Errors encountered. Processing terminated.
Done in 0s.
Please let me know where am i going wrong or what can i do to avoid this situation. I have found a workaround to include the layout in the main cobol program which works too but for a bigger program which includes a lot of layouts the task gets out of hand. Hoping to hear from you
Thanks in advance
Pravdeep
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi , I have been trying to convert some cobol codes to java using your tool. The tool works fine for almost all basic codes. But im facing an issue which is when i try to convert cobol which includes a copybook including database variable declaration statements and its corresponding cobol mapping, it throws following error :
Parsing Cobol started for: /xx/xxxxx/check.cob
com.res.cobol.parser.ParseException: Encountered " "TABLE" "TABLE "" at line 0, column 33.
Was expecting:
<EOF>
com.res.cobol.parser.ParseException: Encountered " "TABLE" "TABLE "" at line 0, column 33.
Was expecting:
<EOF>
com.res.cobol.parser.ParseException: Encountered " "TABLE" "TABLE "" at line 0, column 33.
Was expecting:
<EOF>
Errors encountered. Processing terminated.
Done in 0s.
Please let me know where am i going wrong or what can i do to avoid this situation. I have found a workaround to include the layout in the main cobol program which works too but for a bigger program which includes a lot of layouts the task gets out of hand. Hoping to hear from you
Thanks in advance
Pravdeep