Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Assembly 370 > Re: Invoking C+...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 3 Topic 238 of 328
Post > Topic >>

Re: Invoking C++ program from mvs assembler code

by Binyamin Dissen <postingid@[EMAIL PROTECTED] > Apr 19, 2005 at 12:12 AM

On 18 Apr 2005 13:19:50 -0700 "b****ter" <****tergrouptx@[EMAIL PROTECTED]
> wrote:

:>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.

You probably have to set up an O/S plist.

               LA    R1,OSPLIST

     OSPLIST   DC    A(HWZERO+X'80000000')
     HWZERO    DC    H'0'

--
Binyamin Dissen <bdissen@[EMAIL PROTECTED]
>
http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel


Should you use the mailblocks package and expect a response from me,
you should preauthorize the dissensoftware.com domain.

I very rarely bother responding to challenge/response systems,
especially those from irresponsible companies.
 




 3 Posts in Topic:
Invoking C++ program from mvs assembler code
"bporter" <p  2005-04-18 13:19:50 
Re: Invoking C++ program from mvs assembler code
Binyamin Dissen <posti  2005-04-19 00:12:03 
Re: Invoking C++ program from mvs assembler code
"bporter" <p  2005-04-18 14:29:15 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 15:19:04 CDT 2008.