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

COBOL prelink?

251 views
Skip to first unread message

Mark Pace

unread,
Dec 18, 2009, 4:18:11 PM12/18/09
to
Installing COBOL for the 1st time under z/OS. I've always used COBOL under
VSE in the past.
What is the prelink - EDCPRLK -?
I'm used to compile and linkedit, I don't understand the purpose of the
prelink step.

--
Mark Pace
Mainline Information Systems
1700 Summit Lake Drive
Tallahassee, FL. 32317

----------------------------------------------------------------------
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

Paul Peplinski

unread,
Dec 18, 2009, 5:00:12 PM12/18/09
to
I do not use it in conjunction with my COBOL (Enterprise COBOL 4.1) and
google hits are mostly C(++) related

Farley, Peter x23353

unread,
Dec 18, 2009, 5:36:47 PM12/18/09
to
> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:IBM-...@bama.ua.edu] On
> Behalf Of Mark Pace
> Sent: Friday, December 18, 2009 4:17 PM
> To: IBM-...@bama.ua.edu
> Subject: COBOL prelink?
>
> Installing COBOL for the 1st time under z/OS. I've always used COBOL
> under VSE in the past.
> What is the prelink - EDCPRLK -?
> I'm used to compile and linkedit, I don't understand the purpose of
the
> prelink step.

Prelink is necessary to condense "long external names" (i.e., > 8
characters) into 8 characters for linking into a PDS (regular
"loadlib"). PDS load modules must have external names of 8 or less.

For COBOL I *think* this is only necessary if you use the OO features
(Object-Oriented) and communicate with Java or C++ which have long
names. For normal COBOL it is not needed.

In z/OS it is only needed for linking into a PDS. For linking into a
"program object", you can do that directly from the binder (to PDSE or
to Unix System Services directory).

For CICS and DB2 though, there is also a pre-compile "translator" step,
which IIRC VSE had as well (except in VSE it is DL1 instead of DB2,
isn't it?).

HTH

Peter


This message and any attachments are intended only for the use of the addressee and
may contain information that is privileged and confidential. If the reader of the
message is not the intended recipient or an authorized representative of the
intended recipient, you are hereby notified that any dissemination of this
communication is strictly prohibited. If you have received this communication in
error, please notify us immediately by e-mail and delete the message and any
attachments from your system.

Steve Comstock

unread,
Dec 18, 2009, 8:21:59 PM12/18/09
to
Farley, Peter x23353 wrote:
>> -----Original Message-----
>> From: IBM Mainframe Discussion List [mailto:IBM-...@bama.ua.edu] On
>> Behalf Of Mark Pace
>> Sent: Friday, December 18, 2009 4:17 PM
>> To: IBM-...@bama.ua.edu
>> Subject: COBOL prelink?
>>
>> Installing COBOL for the 1st time under z/OS. I've always used COBOL
>> under VSE in the past.
>> What is the prelink - EDCPRLK -?
>> I'm used to compile and linkedit, I don't understand the purpose of
> the
>> prelink step.
>
> Prelink is necessary to condense "long external names" (i.e., > 8
> characters) into 8 characters for linking into a PDS (regular
> "loadlib"). PDS load modules must have external names of 8 or less.

Not any more. For some time now the program binder has included
all the prelink functions. The only one that may remain is if
you want to store a DLL with a long / case-sensitive name in a
PDS instead of a PDSE or HFS directory.

>
> For COBOL I *think* this is only necessary if you use the OO features
> (Object-Oriented) and communicate with Java or C++ which have long
> names. For normal COBOL it is not needed.
>
> In z/OS it is only needed for linking into a PDS. For linking into a
> "program object", you can do that directly from the binder (to PDSE or
> to Unix System Services directory).
>
> For CICS and DB2 though, there is also a pre-compile "translator" step,
> which IIRC VSE had as well (except in VSE it is DL1 instead of DB2,
> isn't it?).
>
> HTH
>
> Peter
>

<ad>
A couple of really helpful courses in this environment, I believe, would
be our "Enterprise COBOL Update I: Essentials" (2 days) and our "Secrets
of Inter-Language Communication in z/OS" (3.5 days). For more details,
check out:

http://www.trainersfriend.com/COBOL_Courses/d704descr.htm
and
http://www.trainersfriend.com/Language_Environment_courses/m520descr.htm

respectively.

</ad>

--

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 <==

Chase, John

unread,
Dec 21, 2009, 10:40:38 AM12/21/09
to
> -----Original Message-----
> From: IBM Mainframe Discussion List On Behalf Of Mark Pace
>
> Installing COBOL for the 1st time under z/OS. I've always used COBOL
under
> VSE in the past.
> What is the prelink - EDCPRLK -?
> I'm used to compile and linkedit, I don't understand the purpose of
the
> prelink step.

I believe "pre-link" is exclusive to C/C++.

-jc-

Mark Pace

unread,
Dec 21, 2009, 11:08:55 AM12/21/09
to
On Fri, Dec 18, 2009 at 5:34 PM, Farley, Peter x23353 <
Peter....@broadridge.com> wrote:

> <Snip>


> For CICS and DB2 though, there is also a pre-compile "translator" step,
> which IIRC VSE had as well (except in VSE it is DL1 instead of DB2,
> isn't it?).

> </Snip>

VSE does both DB2 and DL1. And I'm not sure how much DL1 is left in the
world.

--
Mark Pace
Mainline Information Systems
1700 Summit Lake Drive
Tallahassee, FL. 32317

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

0 new messages