Wish I could afford the classes. But training is a "no way" around here. And 
UNIX is even of less interest. Also, I consider using the C subroutine library 
to be "cheating" <grin>. I use the BPX... calls. Of course, wiser heads really 
would use the C library simply because it would be faster and more efficient. 
And, in reality, I likely would too if I went to the bother of writing much 
code.

--
John McKown
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets(r)

9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone *
[email protected] * www.HealthMarkets.com

Confidentiality Notice: This e-mail message may contain confidential or 
proprietary information. If you are not the intended recipient, please contact 
the sender by reply e-mail and destroy all copies of the original message. 
HealthMarkets(r) is the brand name for products underwritten and issued by the 
insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance 
Company(r), Mid-West National Life Insurance Company of TennesseeSM and The 
MEGA Life and Health Insurance Company.SM



> -----Original Message-----
> From: IBM Mainframe Assembler List
> [mailto:[email protected]] On Behalf Of Steve Comstock
> Sent: Friday, August 12, 2011 1:25 PM
> To: [email protected]
> Subject: Re: shell (exec) program linkage convention.
>
> On 8/12/2011 12:11 PM, McKown, John wrote:
> > I really had a difficult time figuring this out. Of course,
> it was because I was searching incorrectly. But for we who
> program in HLASM, I thought it might be useful to mention the
> "registers at entry" to a program invoked from an UNIX shell.
> Which is done with the UNIX exec() call, and really is mainly
> documented here:
> >
> http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/BPX
> ZB190/2.30
> >
> > R13 points to a save area. But I don't really know if it is
> >     72 bytes in length (like an old style SaveArea) or larger
>
> Almost certainly 144 bytes
>
>
<snip>
>
> We cover that in our course "Developing Applications for z/OS UNIX",
> which demonstrates working under the shell in Assembler, COBOL, PL/I
> and C.
>
> The Assembler is generally LE-compliant, and a lot of the work in all
> the languages is done by calling C functions directly from the various
> languages. Details at:
>
>    http://www.trainersfriend.com/UNIX_and_Web_courses/u520descr.htm
>
>

Reply via email to