Right about the point about posting to the list, not the newsgroup. I did
not see the original post.
I call non-XPLINK C++ to non-LE HLASM all the time. Here's a quick example
complete with the C++ declaration. (Not all COPYs included, but you get the
idea.)
* extern "OS" {bool ISAUTH();}
SPACE 2
ISAUTH EDCPRLG DSALEN=CDSALEN,BASEREG=NONE
LARL R12,CZAISAUT
USING CZAISAUT,R12
*
* Issue the TESTAUTH
TESTAUTH FCTN=1
*
* TESTAUTH returns 0 = yes, 4 = no
* We return 1 = yes, 0 = no
SRL R15,2 Convert 4 into 1
LCR R15,R15 Convert 1 into -1
AHI R15,1 Convert -1 into 0 and 0 into 1
*
EDCEPIL ,
DROP R12
If I need to get the parms passed from C++ I do (for example, where Parm2 is
equated to 4)
L R1,4(,R13) Get previous save area
L R10,24(,R1) Caller's R1 now in R10
L R6,Parm2(,R10) Point to second parm
HTH,
Charles
-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On
Behalf Of Don Poitras
Sent: Tuesday, March 21, 2017 6:43 AM
To: [email protected]
Subject: Re: Java->C->HLASM non-XPLINK
First, more people will see your post if you send to the listserv rather
than the newsgroup.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN