Posted: Tue Mar 16, 2004 10:48 am Post subject: Only LINK step (IEWL)
Hello,
I need to Link a module to get the load. I have the object modules(The NCAL Library). I tried the following and it generated the load with the warnings as given below.
Warnings:
IEW2480W A711 EXTERNAL SYMBOL DSNHLI OF TYPE LD WAS ALREADY DEFINED AS A SYMBOL OF TYPE LD IN SECTION DFSLI000.
IEW2482W A712 THE ORIGINAL DEFINITION WAS IN A MODULE IDENTIFIED BY DDNAME SYSLIB. THE DUPLICATE DEFINITION IS IN
SECTION DSNELI IN A MODULE IDENTIFIED BY DDNAME SYSLIB.
IEW2480W A711 EXTERNAL SYMBOL DSNWLI OF TYPE LD WAS ALREADY DEFINED AS A SYMBOL OF TYPE LD IN SECTION DFSLI000.
IEW2482W A712 THE ORIGINAL DEFINITION WAS IN A MODULE IDENTIFIED BY DDNAME SYSLIB. THE DUPLICATE DEFINITION IS IN
SECTION DSNELI IN A MODULE IDENTIFIED BY DDNAME SYSLIB.
IEW2650I 5102 MODULE ENTRY NOT PROVIDED. ENTRY DEFAULTS TO SECTION PLISTART.
I got the folowing SYSPRINT Message when I ran it.
I know it is something wrong with the Link. I am trying to do a individual link step. Any idea's where the problem lies? Any documentation on IEWL? _________________ Thanks & Regards,
Manoj.
Thanks for your superfast response as usual. I did what you mentioned above, but am still getting the exact same Link warnings and Run abend. Any other ideas?Thanks! _________________ Thanks & Regards,
Manoj.
Joined: 26 Nov 2002 Posts: 12366 Topics: 75 Location: San Jose
Posted: Tue Mar 16, 2004 1:36 pm Post subject:
Manoj,
[code:1:5ca916b213]
The Linkage Editor
The linkage editor (PGM=IEWL) is used to create an executable load
module from an object deck. The linkage editor must be used to make
an executable copy of a compiled or assembled program. External
symbols in the object module(s), optional linkage editor control
statements, and linkage editor JCL parameters determine how the
finished load module is to be constructed.
NOTE: If your installation has DFSMS/MVS installed, the linkage
editor at your site is called the "binder" and is part of the MVS
Program Management Services component. The terms "binder" and
"linkage editor" can be used interchangeably when reading the
information below. The binder supports all of the functions of
the linkage editor, and also supports linking of "program objects"
and PDSE data sets. Program objects reside in PDSE data sets and
are page-mapped in virtual storage; many of the restrictions that
applied to the size of load modules do not apply to program
objects.
Sample JCL for the linkage editor appears below; following the JCL is
a discussion of each DD statement required by the linkage editor and
what each is used for. An explanation of linkage editor control
statements follows the JCL discussion, and linkage editor usage
examples appear at the end of this reference item.
Explanation of Linkage Editor JCL:
EXEC: PGM=HEWL or LINKEDIT can also be specified.
PARM: The optional PARM field is used to pass different processing
options. Possible PARM= values are described below under control
statement descriptions. Possible PARM field options are listed
here.
For load module attributes:
AC=n - Sets authorization code (1 if APF authorized)
DC - Sets downward compatible attribute by forcing a
maximum output blocksize of 1024 bytes
SCTR - Indicates "scatter" load module format
NE - Sets "not editable" attribute - module can't
be relinked
OL - Sets "only loadable" attribute
OVLY - Sets "overlay" attribute
RENT - Sets "reentrant" attribute if all CSECTS are
marked reentrant
REUS - Sets "serially reusable" attribute if all CSECTS
are marked serially reusable
REFR - Sets "refreshable" attribute if all CSECTS are
marked refreshable
AMODE=31 _________________ Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
Doing a complete compile and link together worked fine. That got me to run my stuff. However, This is not what is actually meant to be done (Thus its a workaround). I am still trying the link individually. I guess I am missing one of the options. I'll try that again.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum