To compile and link the programs:
- On the Start menu, click
Start > All Programs > Micro Focus Studio Enterprise Edition x.x > Compatibility Tools > Net Express Command Prompt (32-bit).
- Change to the directory where the demo files are. By default this is:
%ProgramFiles(x86)%\Micro Focus\Studio Enterprise Edition x.x\Examples\Visual Studio Integration\OPEN-PLI\CICSDemo.
- Run
bld.bat.
This batch file will compile all programs. It contains a bunch of
mfplx commands with various compiler options. Some of them are:
- -bigendian
- Specifies that all fixed binary items are implicitly declared with the BIGENDIAN data attribute, unless the NATIVE attribute is explicitly applied to a data item.
- -c
- Suppresses linking and produces a relocatable object file.
- -cics
- Invokes the CICS preprocessor.
- -deb
- Produces debugging information for CodeWatch, the debugger that you are going to use in this tutorial.
For more information on the compiler options used in
bld.bat, see
Compiler Options.