Skip to main content

Can a class written in OO COBOL support a structure with lower level variables?

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

Using NetExpress .NET in Visual Studio is it possible for a class written in OO COBOL to support a structure with lower level variables?

For example:

      01 wd-person.

           05 wd-name          pic x(20).

           05 wd-surname     pic x(20).

Resolution:

This type of structure should work correctly if the class is incuded in an environment which is purely COBOL.  If, however, the COBOL structure does a call to a J# environment, for example, then it would be better to write the structure as two separate strings.

Old KB# 1563