Before you begin: Ensure that the Language Environment® runtime libraries SCEERUN and SCEERUN2, and the z/OS® XL C++ compiler are in STEPLIB, LPALST, or the LNKLST concatenation.
Perform the following steps to compile, run, and bind the template example program under the z/OS shell:
cp /usr/lpp/cbclib/sample/clb3atmp/* your_dir/.
_______________________________________________________________
c++ -+ -o clb3atmp clb3atmp.cpp
This
command compiles clb3atmp.cpp and then compiles the ./tempinc directory
(which is created if it does not already exist). It then binds using
all the objects in the ./tempinc directory. An archive
file, or C370LIB object library is not created.
_______________________________________________________________
./clb3atmp
_______________________________________________________________