Complete the project settings and import the COBOL source files.
-
In the
Solution
Explorer, right-click on the name of your project - CTGDEMO - and select
Properties.
This reveals the properties page for your project.
-
On the
COBOL page,
select
ASCII from the
Character Set list.
-
Still on the
COBOL
page, enter the following additional directives in the
Additional directives box:
copyext(CBL, cbl, CPY, cpy) remove(namespace) hidemessage(624).
-
Again on the
COBOL page, enter
.\loadlib in the
Output path field.
-
In the Solution Explorer, right-click on the name of your project - CTGDEMO - and click
Add > Existing Item....
-
Navigate to
C:\CTG\CTGDEMO\cblsrv, select both files:
eci2oper.cbl and
episrv.cbl and click
Add to import them into the project.
-
Click
File > Save All to save your work (if the menu option is greyed out, then it has already been automatically saved).