Does anyone have an example of invoking a z/OS C++ program
(XPLINK-compiled) from MVS assembler?
My c++ program contains a standard main routine "int main(int argc,
char* argv[]);", and a few sub-routines.
Do I need to initialize the LE environment before loading the c++ load
module and calling it? It seems from the 'LE Writing ILC Applications'
IBM doc that a non-LE-conforming assembler program can invoke a c++
main routine. When I LOAD the c++ load module and BASR, I get a S0C4
(rsn=10) in CEEPLPKA. From this, I think that the environment must not
be setup correctly.
If anyone can share experience, tips, or an example, it would be much
appreciated.
Thanks,
Ben


|