Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Assembler program calling a 'C' program with mixed case long names

12 views
Skip to first unread message

Steve Austin

unread,
Dec 23, 2009, 12:54:38 PM12/23/09
to
Hello,

Is it possible to persuade the assembler to create mixed case ESD names?
The GOFF option allows long names, but the ESD entries are upper case.

Thanks

Steve


- ------------------------------------------------------------------------
This email has been scanned for all known viruses by the MessageLabs Email
Security Service and the Macro 4 internal virus protection system.
. ------------------------------------------------------------------------
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to list...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Steve Comstock

unread,
Dec 23, 2009, 3:25:27 PM12/23/09
to
Steve Austin wrote:
> Hello,
>
>
>
> Is it possible to persuade the assembler to create mixed case ESD names?
> The GOFF option allows long names, but the ESD entries are upper case.
>
>
>
> Thanks
>
>
>
> Steve

Look at the Assembler 'alias' statement:


LOAD alias c'dllload'


We discuss this in our 3.5 day course "Secrets of Inter-Language
Communication in z/OS". See this page and its links for more details:

http://www.trainersfriend.com/Language_Environment_courses/m520descr.htm

--

Kind regards,

-Steve Comstock
The Trainer's Friend, Inc.

303-393-8716
http://www.trainersfriend.com

z/OS Application development made easier
* Our classes include
+ How things work
+ Programming examples with realistic applications
+ Starter / skeleton code
+ Complete working programs
+ Useful utilities and subroutines
+ Tips and techniques

==> Ask about being added to our opt-in list: <==
==> * Early announcement of new courses <==
==> * Early announcement of new techincal papers <==
==> * Early announcement of new promotions <==

Binyamin Dissen

unread,
Dec 23, 2009, 3:25:51 PM12/23/09
to
On Wed, 23 Dec 2009 15:55:12 -0000 Steve Austin <steve....@MACRO4.COM>
wrote:

:>Is it possible to persuade the assembler to create mixed case ESD names?


:>The GOFF option allows long names, but the ESD entries are upper case.

Look at the assembler ALIAS statement.

--
Binyamin Dissen <bdi...@dissensoftware.com>
http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel


Should you use the mailblocks package and expect a response from me,
you should preauthorize the dissensoftware.com domain.

I very rarely bother responding to challenge/response systems,
especially those from irresponsible companies.

McKown, John

unread,
Dec 23, 2009, 3:25:54 PM12/23/09
to
> -----Original Message-----
> From: IBM Mainframe Discussion List
> [mailto:IBM-...@bama.ua.edu] On Behalf Of Steve Austin
> Sent: Wednesday, December 23, 2009 9:55 AM
> To: IBM-...@bama.ua.edu
> Subject: Assembler program calling a 'C' program with mixed
> case long names
>
> Hello,
>
> Is it possible to persuade the assembler to create mixed case
> ESD names?
> The GOFF option allows long names, but the ESD entries are
> upper case.
>
> Thanks
>
> Steve

I think:

MYCSECT CSECT
MYCSECT ALIAS C'MyCsect'

Seemed to work for me in HLASM 1.6 on z/OS 1.10.

--
John McKown
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets(r)

9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone * (817)-961-6183 cell
john....@healthmarkets.com * 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

john gilmore

unread,
Dec 23, 2009, 3:27:38 PM12/23/09
to
You can use the ALIAS statement, which is documented with a relevant example in the HLASM LR, to do what you want to do, e.g., generate the external reference EtaoinShrdlu instead of ETAOINSHRDLU.


John Gilmore Ashland, MA 01721-1817 USA



> Date: Wed, 23 Dec 2009 15:55:12 +0000
> From: steve....@MACRO4.COM


> Subject: Assembler program calling a 'C' program with mixed case long names

> To: IBM-...@bama.ua.edu

_________________________________________________________________
Hotmail: Trusted email with Microsoft�s powerful SPAM protection.
http://clk.atdmt.com/GBL/go/177141664/direct/01/

Steve Austin

unread,
Dec 24, 2009, 7:33:22 AM12/24/09
to
Thanks for all your responses. I am now fighting with the pre-linker; it
does not pick up the long mixed case names I specified using alias
statements.

Steve

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-...@bama.ua.edu] On

Behalf Of Binyamin Dissen
Sent: 23 December 2009 18:45
To: IBM-...@bama.ua.edu
Subject: Re: Assembler program calling a 'C' program with mixed case
long names

-


------------------------------------------------------------------------
This email has been scanned for all known viruses by the MessageLabs
Email
Security Service and the Macro 4 internal virus protection system.
.
------------------------------------------------------------------------

- ------------------------------------------------------------------------
This email has been scanned for all known viruses by the MessageLabs Email
Security Service and the Macro 4 internal virus protection system.
. ------------------------------------------------------------------------

----------------------------------------------------------------------

Thomas David Rivers

unread,
Dec 24, 2009, 10:34:30 AM12/24/09
to IBM Mainframe Discussion List
Hi Steve,

Use the ALIAS command to get precisely the letter's you'd like
in the ESD name.

For example:

NAME ALIAS C'name'
NAME CSECT
END

creates a csect that has the letters "name" in the object deck.

- Dave Rivers -


--
riv...@dignus.com Work: (919) 676-0847
Get your mainframe programming tools at http://www.dignus.com

Thomas David Rivers

unread,
Dec 24, 2009, 10:36:46 AM12/24/09
to IBM Mainframe Discussion List
Steve Austin wrote:
> Thanks for all your responses. I am now fighting with the pre-linker; it
> does not pick up the long mixed case names I specified using alias
> statements.
>
> Steve
>
>

Steve,

When you say "pick up" - what do you mean?

And, which pre-linker is this?

- Dave Rivers -

David Crayford

unread,
Dec 24, 2009, 7:47:35 PM12/24/09
to IBM Mainframe Discussion List
You can't use the pre-linker with GOFF.

If I were you I would ditch the pre-linker. It's functionally stabalized
and the binder does everything you need and more. Only use the
pre-linker if you want to use load modules in a PDS.

Steve Austin

unread,
Jan 4, 2010, 5:10:36 AM1/4/10
to
Hello Dave,

I was hoping the pre-linker would resolve the long names I specified on
the call to the 8 byte upper case names to which it renames the target
routines, but it does not. To get around this I am using CHANGE
statements in the linkedit step.

I'm doing this in order to link the program into a PDS rather than a
PDSE.

Is there something I'm missing?


The pre-linker I'm using is EDCPRLNK.

Thanks

Steve

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-...@bama.ua.edu] On
Behalf Of Thomas David Rivers
Sent: 24 December 2009 15:37
To: IBM-...@bama.ua.edu
Subject: Re: Assembler program calling a 'C' program with mixed case
long names

Steve,

- Dave Rivers -

----------------------------------------------------------------------

Steve Austin

unread,
Jan 4, 2010, 5:13:49 AM1/4/10
to
Thanks

I should have explained that I'm using the pre-linker so that I can link
to a PDS.

David Crayford

unread,
Jan 4, 2010, 6:52:26 AM1/4/10
to IBM Mainframe Discussion List
Steve Austin wrote:
> Thanks
>
> I should have explained that I'm using the pre-linker so that I can link
> to a PDS.
>

Out of curiosity why are you tied to a PDS? You will get much better
mileage from a PDSE. GOFF, XPLINK, programs > 16MB and future features
that will only be supported by PDSE program objects.

Steve Austin

unread,
Jan 4, 2010, 7:28:02 AM1/4/10
to
The code I am writing is a prototype, but it is intended that something
like it will be shipped to customers in time.
I don't know that PDSE usage will be an issue to anyone, but experiece
suggests that someone will at least question the requirement, so for the
time being I'm avoiding using a PDSE.

Charles Mills

unread,
Jan 4, 2010, 9:28:29 AM1/4/10
to
I hear the same thing from customers: "ooh, I don't like PDSE's."

(cf. John McKown's post this morning on why JCL continues to be so bad.)

Charles

0 new messages