CBLCNVRT issues

book

Article ID: 108243

calendar_today

Updated On:

Products

CA PanAudit Plus CA Easytrieve Report Generator CA PAN/SQL

Issue/Introduction

CBL244 - UNEXPECTED END OF FILE ON GLOSTAB

Environment

Release:
Component: EZTRVE

Resolution

A
***** CBL244 - UNEXPECTED END OF FILE ON GLOSTAB
error may occur due to the COBOL version being used.

When using COBOL version 3.4.1 and higher, the following parameters should be used:
...
%CBLCNVRT GLOSTAB QUOTE '''''' SYSTEM OS COBOL I341
...
Without the COBOL parameter being specified, a listing from the VS COBOL compiler is expected by default.
The COBOL parameter is important as it determines which COBOL DMAP record layout is used. Since the layout between VS COBOL compiler and Enterprise COBOL 3.4.1 and higher compilers are different, the conversion cannot be performed and the EASYPGM file remains empty.

If you're using COBOL 5 and higher, you have to install PTF RO84144 for CA Easytrieve 6.4 and PTF RO84600 for release 11.6.
Then you have to use 
%CBLCNVRT GLOSTAB QUOTE '''''' SYSTEM OS COBOL I521

If you're using COBOL 6 and higher, you have to install PTF SO01884 for CA Easytrieve release 11.6 and you have to use parameter COBOL I620.