You can use the CEE3DMP callable service or the cdump(), csnap(), and ctrace() C/C++ functions to generate a Language Environment dump of C/C++ routines. These C/C++ functions call CEE3DMP with specific options.
To use these functions, you must add #include <ctest.h> to your C/C++ code. The dump is directed to output dumpname , which is specified in a //CEEDUMP DD statement in MVS/JCL.
cdump(), csnap(), and ctrace() all return a 1 code in the SPC environment because they are not supported in SPC.
See the z/OS XL C/C++ Runtime Library Reference for more details about the syntax of these functions.