Create a folder structure and project for the server-based CICS programs.
-
Create a working folder on your machine, such as
C:\CTG. We recommend that you use the same naming convention as is used in this demonstration - it will lead to fewer errors and you can always delete your project files when you have finished.
-
Start
Enterprise Developer.
-
Click
File > New > Mainframe COBOL Project.
-
Specify a name for your project such as
CTGDEMO.
-
Uncheck
Use default location.
-
Click
Browse, navigate to and click your
C:\CTG folder, click
Make New Folder
and specify
CTGDEMO as the name of the new folder.
-
Click
OK and then click
Finish.
-
Create the following folders in your
CTGDEMO directory:
- cblsrv - CICS server programs
- cpy - copybooks
- loadlib - executables
- data - data files
- system - CICS resource files
-
Copy the COBOL server programs from your sample folder
%PUBLIC%\Documents\Micro Focus\Enterprise Developer\Samples\Mainframe\CICS\Classic\CTGDEMO\cblsrv to your new
cblsrv directory above.
-
After you've copied the two COBOL server programs, return to the COBOL Explorer, click on the name of your project - CTGDEMO - and press
F5 to refresh the project.