Re: Language Enviroment HLASM question.
- From: John.Mckown@xxxxxxxxxxxxxxxxx (McKown, John)
- Date: 28 Apr 2008 12:03:42 -0700
-----Original Message-----
From: IBM Mainframe Discussion List
[mailto:IBM-MAIN@xxxxxxxxxxx] On Behalf Of Steve Comstock
Sent: Monday, April 28, 2008 1:19 PM
To: IBM-MAIN@xxxxxxxxxxx
Subject: Re: Language Enviroment HLASM question.
McKown, John wrote:
Is there any reason that anybody can think of for making anASSEMBLER
program an LE main routine, other than if it invokes someLE subroutines
or COBOL (or other LE-enabled language) subroutines? Whatabout if it
uses the BPX... subroutines to do UNIX work?
More curious than anything else.
Assembler programs do not need to be LE for calling BPX routines.
But one nice side effect of making an Assembler program LE-conforming
is that it can then call C functions directly (you do not need to
invoke a C program that then calls the C functions you're after).
So printf, scanf, and so on can be invoked directly from the
Assembler program. But you don't want the tail wagging the dog,
it's always important to clearly define what the program is to
be doing.
<I won't even put an ad here ;-) />
I hadn't even considered using C language subroutines.
I do have one thing that I don't like. My "diagnostic" abends result in
LE getting control and "messing around" with the environment. It is
weird to see a U4087 on my job when I __know__ that I caused an S0C1. I
wish that I knew how to perculate the original abend code up to the JCL
level. Everything seems to come out as a U4087 (S0C1, S0C3, S0C7, etc).
--
John McKown
Senior Systems Programmer
HealthMarkets
Keeping the Promise of Affordable Coverage
Administrative Services Group
Information Technology
The information contained in this e-mail message may be privileged
and/or confidential. It is for intended addressee(s) only. If you are
not the intended recipient, you are hereby notified that any disclosure,
reproduction, distribution or other use of this communication is
strictly prohibited and could, in certain circumstances, be a criminal
offense. If you have received this e-mail in error, please notify the
sender by reply and delete this message without copying or disclosing
it.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html
.
- Follow-Ups:
- Re: Language Environment HLASM question.
- From: David Logan
- Re: Language Enviroment HLASM question.
- From: Farley, Peter x23353
- Re: Language Enviroment HLASM question.
- From: Craddock, Chris
- Re: Language Environment HLASM question.
- References:
- Language Enviroment HLASM question.
- From: McKown, John
- Re: Language Enviroment HLASM question.
- From: Steve Comstock
- Language Enviroment HLASM question.
- Prev by Date: Re: Language Enviroment HLASM question.
- Next by Date: Re: IXC102D and REPLY DOWN
- Previous by thread: Re: Language Enviroment HLASM question.
- Next by thread: Re: Language Enviroment HLASM question.
- Index(es):