gtpc2mjo | C/C++ Language Support User's Guide |
The ACP.CSRCE.OL.RELvv partitioned data set contains
the GNTAGH program as well as some samples of source code that you need to run
it. You must adapt this sample code to your environment. Data
set members to be used with HLASM output are shown in Table 52.
Table 52. ACP.CSRCE.OL.RELvv Data Set Members for Converting HLASM Output
Member Name | Description |
---|---|
GLOBALS | This assembler source file contains two calls to the GLOBZ macro.
The first GLOBZ invocation defines global area 1 (REGR= parameter). The
second GLOBZ invocation defines global area 3 (REGS= parameter). This
order must be maintained.
|
GLDEFH | This is a header file that contains constant definitions required by GNTAGH at compile time. |
GNTAGH | This C source program contains the actual statements that create the c$globz.h header file from HLASM SYSADATA input. It may require user modification, and it should be recompiled whenever the GLDEFH header file is modified. |
GENGLOBH | This program is for VM/CMS installations only, and requires the IBM C/370 Compiler (5688-040) and IBM C/370 Library (5688-039), and their associated prerequisites. GENGLOBH contains the instructions necessary to reassemble GLOBALS, recompile GNTAGH, and generate the resulting c$globz.h header file. GENGLOBH requires user modification, and is provided only as an example. |
GLOBHJCL | This program is for MVS installations only, and requires the IBM C/370 Compiler (5688-040) and IBM C/370 Library (5688-039), and their associated prerequisites. GLOBHJCL contains the instructions necessary to reassemble GLOBALS, recompile GNTAGH, and generate the resulting c$globz.h header file. GLOBHJCL requires user modification, and is provided only as an example. |
The following two sections tell you how to create C global tagnames. An overview of this entire process is shown in Figure 3.
If you are using the MVS operating system, skip to Creating or Updating C Globals on MVS.