Create and populate a new project for the client programs

Create a folder structure and project for the client-side programs.
  1. In Visual Studio, click File > New > Project.
  2. In the Create a new project dialog box, select COBOL from the Language drop-down list.
  3. Click Console Application, and then click Next.
  4. Specify a name for your project such as CTGCLI.
  5. Specify a working folder in the Location field. This is the folder C:\CTG you specified in step 1 above.
  6. Select Add to solution in the Solution list, and ensure that the Place solution and project in the same directory checkbox is unchecked.
  7. Click OK. This creates a CTGCLI folder within your project working folder.
  8. Create the following folders in your CTGCLI directory:
    • cblcli
    • loadlib
  9. Finally, copy the COBOL client programs from your sample folder: %PUBLIC%\Documents\Micro Focus\Enterprise Developer\Samples\Mainframe\CICS\Classic\CTGDEMO\cblcli to your new cbcli directory above.