Previous topic |
Next topic |
Contents |
Index |
Contact z/OS |
Library |
PDF
Compiling an ARM-instrumented Application z/OS MVS Programming: Workload Management Services SC34-2663-00 |
|||||||||
Compiling an ARM-instrumented ApplicationWhen compiling an ARM-instrumented application, the application should use #include "arm4.h" to include the ARM header file. As a result, the arm4.h header file library, SYS1.SIEAHDRV.H, must be included in the SEARCH/LSEARCH path. Using the C/C++ Compiler in BATCHFigure 15 shows sample JCL that illustrates the required options to compile an ARM-instrumented 31-bit XPLINK application in MVS™ batch. Figure 15. Sample JCL for Compiling an ARM-instrumented Application in MVS Batch
For a 31-bit non-XPLINK application, omit XPLINK (third line from the bottom in the example). For a 64-bit application, specify the LP64 option instead of XPLINK. (The LP64 option is supported by the z/OS® V1R6 or higher C/C++ compiler.) Using the C/C++ Compiler under z/OS UNIX System ServicesRun the c89 or c++ z/OS UNIX System Services shell command to compile your program and store the object. For C++ compiles add the -+ option. Table 15 shows examples of compiling under z/OS UNIX System Services in the various environments.
|
Copyright IBM Corporation 1990, 2014
|