C/C++ Programmer's Guide (G06.27+, H06.08+, J06.03+)

cobol85 /in testcob / testcobo
2. Compile the C program named testc using the TNS C compiler:
c / in testc/ testco
3. Link the object files using Binder and the file BINDIN:
bind / in bindin, out listfile /
4. To run the executable named testexe:
run testexe
I AM DOING COBOL NOW
D-STRING = Displayed in COBOL.
D-LARGE = 0000040000
D-SHORT = 00100
D-RESULT = 000000400
LEAVING COBOL PROGRAM NOW
I'm Back in C and program is ending
Interfacing to TNS COBOL 121