This topic describes how to bind your z/OS® XL C++ or z/OS XL C program in TSO by invoking the CXXBIND REXX EXEC. This REXX EXEC invokes the binder and creates an executable program object.
If you specify a data set name in an option, and the high-level qualifier of the data set is not the same as your user prefix, you must use the fully qualified name of the data set and place single quotation marks around the entire name.
If you specify a z/OS UNIX file name in an option, it must be an absolute file name; it must begin with a slash (/). You can include commas and special characters in file names, but you must enclose file names that contain special characters or commas in single quotation marks. If a single quotation mark is part of the file name, you must specify the quotation mark twice.
.-,------------------. V | >>-CXXBIND--OBJ--(----+-input-object---+-+--)-------------------> '-'input-object'-' >--+-----------------------------------+------------------------> | .-,------------------. | | V | | '-OPT--(------binder_option;---+--)-' >--+------------------------------------------+-----------------> | .-,-------------------------. | | V | | '-LIB--(----+-search-library-name---+-+--)-' '-'search-library-name'-' >--+-----------------------------------------+------------------> '-LOAD--(--+-output_program_object---+--)-' '-'output_program_object'-' >--+--------------------------------------------+---------------> '-IMP--(--+-file_of_generated_imports---+--)-' '-'file_of_generated_imports'-' >--+----------------------------------+--+--------+------------>< '-LIST--(--+-output_listing---+--)-' '-XPLINK-' '-'output_listing'-'
CXXBIND OBJ(PLAN9.OBJ(PROG3)) OPT('MAP')...
The default libraries that are used when the XPLINK option is not specified are the CEE.SCEELKED, CEE.SCEELKEX, and CEE.SCEECPP C/C++ libraries and the CBC.SCLBSID C++ class library. The default libraries that are used when the XPLINK option is specified are the CEE.SCEEBND2 and CEE.SCEELIB C/C++ libraries and the CBC.SCLBSID C++ class library . The default library names are added to the ddname SYSLIB concatenation if library names are specified with the LIB keyword parameter.