Previous Topic Next topic Print topic


Compile and Link the Programs

To compile and link the programs:

  1. On the Start menu, click Start > All Programs > Micro Focus Studio Enterprise Edition x.x > Compatibility Tools > Net Express Command Prompt (32-bit).
  2. 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.
  3. 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.

Previous Topic Next topic Print topic