Re: Linking to MVS standard linkage function from Rexx

2013-04-01 Thread Lloyd Fuller
- Original Message From: Charles Mills charl...@mcn.org To: IBM-MAIN@LISTSERV.UA.EDU Sent: Fri, March 29, 2013 2:37:46 PM Subject: Re: Linking to MVS standard linkage function from Rexx Why? I have a product coded in Rexx, and a product coded in C++. I want to add the same function to both

Re: Linking to MVS standard linkage function from Rexx

2013-04-01 Thread Lloyd Fuller
@LISTSERV.UA.EDU Sent: Fri, March 29, 2013 3:27:52 PM Subject: Re: Linking to MVS standard linkage function from Rexx I read your post more carefully once again ... If performance indeed is not critical, why not write two things: - a C function, let's call it C1, which does the construction of the SMF

Re: Linking to MVS standard linkage function from Rexx

2013-04-01 Thread Charles Mills
-Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Lloyd Fuller Sent: Monday, April 01, 2013 4:03 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Linking to MVS standard linkage function from Rexx If he is careful, he can even compile C1

Re: Linking to MVS standard linkage function from Rexx

2013-04-01 Thread Lloyd Fuller
compile errors if you try it use the sample code as it. Lloyd - Original Message From: Charles Mills charl...@mcn.org To: IBM-MAIN@LISTSERV.UA.EDU Sent: Mon, April 1, 2013 10:03:56 AM Subject: Re: Linking to MVS standard linkage function from Rexx Great minds think alike! I am now thinking

Re: Linking to MVS standard linkage function from Rexx

2013-04-01 Thread Charles Mills
Subject: Re: Linking to MVS standard linkage function from Rexx I think you are safer that way. We have code that does the __cinit() call for our Metal C routines that is in a separate routine that never gets compiled with normal C. I see no reason why you could not put it into your function

Re: Linking to MVS standard linkage function from Rexx

2013-04-01 Thread Charles Mills
into the frying pan on April Fools' Day. Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Tony Harminc Sent: Monday, April 01, 2013 11:33 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Linking to MVS standard linkage function from Rexx On 1

Re: Linking to MVS standard linkage function from Rexx

2013-03-29 Thread Lloyd Fuller
Charles, Before you get to far, unless things have changed, Metal C does not handle C++. C only. I have not looked specifically at z/OS 1.13, but I do know that in 1.12 and earlier, C only. Lloyd - Original Message From: Charles Mills charl...@mcn.org To:

Re: Linking to MVS standard linkage function from Rexx

2013-03-29 Thread Ed Jaffe
On 3/29/2013 5:19 AM, Lloyd Fuller wrote: ... unless things have changed, Metal C does not handle C++. C only. I have not looked specifically at z/OS 1.13, but I do know that in 1.12 and earlier, C only. True in z/OS 1.13 as well. -- Edward E Jaffe Phoenix Software International, Inc 831