The files for this demonstration are supplied with the product samples and are installed by default in
%PUBLIC%\Documents\Micro Focus\Enterprise Developer\Samples\OPEN-PLI\CICSDemo.
You need to build the Visual Studio solution for this demo, in order to create the executables and the debug information needed for this demo:
- In Visual Studio, click
File >
Open >
Project/Solution.
- Browse to the
%PUBLIC%\Documents\Micro Focus\Enterprise Developer\Samples\OPEN-PLI\CICSDEMO folder, select the
CICS.sln file, and click
Open.
This loads the CICS solution in Solution Explorer. The solution contains the two projects - CICS and Subroutines.
- Right-click the CICS project in Solution Explorer, and click
Properties.
This opens the project's properties pages.
- Click the tabs in the left-hand side to view all of the configuration details:
- On the
Application tab, you can see that the project produces .dll files for each PL/I program it contains.
- On the
Dependency Paths tab, you can see that the project searches for PL/I include files in the
include subfolder in the solution directory.
- On the
PL/I tab, you can see that the build is set to produce the output files in the
cicsrdef subfolder in the project directory. The CICS and Macro preprocessors are enabled and various Compiler directives and options are set.
- On the
PL/I Link tab, you can see that the project links the executables to a
subroutines.lib file which is produced by the other project in your solution.
- Double-click the
Properties folder in the Subroutines project:
- On the
Application tab, you can see that the project produces a single .lib file.
- On the
Dependency Paths tab, you can see that the project searches for PL/I include files in the same
include subfolder in the solution directory.
- On the
PL/I tab, see what the output folder for this project is and the various Compiler directives and options.
- The
PL/I Link tab shows that the project does not link to any other files.
To build the application:
- Click
Build > Build Solution.
The build creates the output files in the
cicsrdef subfolder in the solution directory.