Absent Member.
Absent Member.
1061 views

2.2 and VS2013, Interface uses Copybook w/88 Level (COBCH1747)

When using Micro Focus 2.2 to compile a .NET 2013 application's INTERFACE that references a COBOL copybook which contains an 88 level, the error  "COBCH1747: Only properties and events allowed in interface data division" surfaces.  The copybooks are old, legacy system copybooks so we can't easily remove all 88 levels.  To temporarily bypass this compile error, changed interface to no longer reference copybook but instead use an 01 level with a PIC clause but this is not the desired solution. 

NOTE: This was not an issue when same application compiled with .NET 2010 under previous version of Micro Focus.

0 Likes
1 Reply
Micro Focus Expert
Micro Focus Expert

Hi,

This problem has already been reported in RPI 1101111. The behavior changed beginning with 2.2.1 as in previous versions 88 levels in an interface definition were allowed and the compiler just ignored them.

This has now been marked as development fixed and the old behavior has been restored. Unfortunately the fix was too late to make it into the upcoming 2.3 release so it will be delivered in V2.3 Update 1. Please open up a support incident with Customer Care if you would like to be added to the RPI so we can notify you when this will be available. You can reference my name and this post and it will be routed accordingly.

Thanks.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.