Binding C++

When binding the C++ object modules shown in Figure 1, the binder generates the following definition side-deck.
IMPORT CODE ,TRIANGLE, getarea__8triangleFv
IMPORT CODE ,TRIANGLE, getperim__8triangleFv
IMPORT CODE ,TRIANGLE, __ct__8triangleFv
You can edit the definition side-deck to remove any functions and variables that you do not want to export. In the above example, if you do not want to expose getperim(), remove the control statement IMPORT CODE ,TRIANGLE, getperim__8triangleFv from the definition side-deck.
Note:
  1. Removing functions and variables from the definition side-deck does not minimize the performance impact caused by specifying the EXPORTALL compiler option.
  2. Side-decks are created without newline characters, therefore you cannot edit them with an editor that expects newline characters, such as vi in z/OS UNIX.

The definition side-deck contains mangled names, such as getarea__8triangleFv. To find the original function or variable name in your source module, review the compiler listing created or use the CXXFILT utility. This will permit you to see both the mangled and demangled names. For more information on the CXXFILT utility, and on binding C++, see z/OS XL C/C++ User's Guide.