On 4/6/2012 5:23 PM, Ken Brick wrote:
many years ago I needed to know, in DOS/VS, whether an assembler routine was
called from a PL/I or assembler module. I put in a test to see if in DOS terms
the weak extrn PLIMAIN was not 0. Non zero meant a PL/I module was present.

Ken

On 7/04/2012 03:46 AM, Phil Smith wrote:
Is there a reliable way to tell we were called by PL/I? If so, we could ignore
zeroes for PL/I. And document it. ISTR there being a magic fullword in the
savearea for PL/I?



Well, you could maybe do the same thing about the
PL/I LE signature CSECT, CEESG011.


--

Kind regards,

-Steve Comstock
The Trainer's Friend, Inc.

303-355-2752
http://www.trainersfriend.com

* To get a good Return on your Investment, first make an investment!
  + Training your people is an excellent investment

* Try our tool for calculating your Return On Investment
    for training dollars at
  http://www.trainersfriend.com/ROI/roi.html

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to