In the InterfacingWithStdCOBOL.sln solution, the second pair of projects, StdCbl02*, shows a COBOL program using group items. This is more representative of real COBOL than the StdCbl01 program. C# doesn't have the concept of group items, so we write a proxy class to manipulate the data and act as an interface between the COBOL and the C#.
The StdCbl02 projects contain the following programs:
Lines 06-09:
01 INPUT-FIELDS. 03 IN-FIELD01 PIC X(01). 03 IN-FIELD02 PIC 9(03). 03 IN-FIELD03 PIC S9(05)V99 COMP-3.
Lines 33-35
01 InField01 Object Reference StringClass property AS "InField01". 01 InField02 Binary-Short property AS "InField02". 01 InField03 Object reference DecimalClass property AS "InField03".
Lines 52-54:
Set IN-FIELD01 to InField01 Set IN-FIELD02 to InField02 Set IN-FIELD03 to InField03