--- cross posted to the PL/1 mailing list ---

Thank you for your answer. I will take a look at the 3.9 documentation.

We are using 3.6 and 3.7, planning to migrate to 3.9 this year.

I've read the LE programming guide of z/OS 1.10, and from there I took
the information that COBOL and PL/1 are non-XPLINK.

Furthermore, the doc says, that there can be no mixture of XPLINK and non-XPLINK inside of one program object - it is only possible that XPLINK functions call
non-XPLINK routines (typically ASSEMBLER) by means of special #pragmas,
to support some ASSEMBLER coded system services.

If a non-XPLINK routine needs to call a XPLINK routine, this should be done
dynamically, that is, like a DLL call, or using CEEFETCH. At least this is my
understanding at the moment.

The XPLINK routine has a function prolog which is completely different from
the traditional (reg 13 save area based) prolog, so LE has to take care
about the proper linkage.

I would like it, if the entry of the XPLINK object could be defined as "traditional"
using a special pragma, but this seems not to be possible.

Kind regards

Bernd



Am 04.01.2011 23:51, schrieb Jim Heifetz:
Which version of the PL/I compiler are you using, that you write "PL/1,
which is non-XPLINK" and deduce from that quote that you cannot call the
XPLINK module.  In the V3R9 Programming Guide, there is an example of
calling a Java XPLINK module from PL/I.


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to