CBLCNVRT macro for COBOL 4.2
search cancel

CBLCNVRT macro for COBOL 4.2

book

Article ID: 45345

calendar_today

Updated On:

Products

Easytrieve Report Generator

Issue/Introduction

Which parameter should be used when invoking Cobol Convert macro CBLCNVRT for COBOL release 4.2?

 

Environment

Easytrieve Report Generator, release 11.6

COBOL v4.2

Resolution

Please ensure that CBLCNVRT is invoked like this using the I341 parameter: 

%CBLCNVRT GLOSTAB QUOTE '''''' SYSTEM OS COBOL I341 

The important part is COBOL I341 because your COBOL compile listing is from Enterprise COBOL 4.2. Without the COBOL parameter being specified, by default a listing from the VS COBOL compiler is expected. 

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 file remains empty.