Try eliminating the second include.  Also verify that PCOPY actually has text.

> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:[email protected]] On
> Behalf Of Fred Kaptein
> Sent: Thursday, November 03, 2011 1:11 PM
> To: [email protected]
> Subject: Re-Linkling a load module with AC(1)
>
> Hello,
>
> I am looking to relink a vendor supplied program module which is set up
> similar to the following:
>   - Module name is PCOPY
>   - Module PCOPY is linked as AC(0)
>   - Module PCOPY has an alias which is PCOPY2
>   - Module PCOPY and PCOPY2 are in 'PCOPY.LOADLIB'
>
> I would like to relink PCOPY with the following:
>    - Linked as AC(1)
>    - Retain the alias PCOPY2
>    - Linked into a test load library called 'PCOPY.TESTLIB'
>
> I tried the following JCL:
> //LKED         EXEC  PGM=IEWL,PARM='LET,LIST=SUMMARY,MAP,NCAL,XREF,AC=1'
> //SYSLIB      DD DSN=PCOPY.LOADLIB,DISP=SHR
> //SYSLMOD  DD DSN=PCOPY.TESTLIB,DISP=SHR
> //SYSUT1     DD DSN=&SYSUT1,UNIT=SYSDA,SPACE=(CYL,(10,10))
> //SYSPRINT  DD SYSOUT=*
> //SYSLIN      DD *
>   INCLUDE SYSLIB(PCOPY)
>   INCLUDE SYSLIB(PCOPY2)
>   NAME PCOPY
>   AC(1)
>   ALIAS PCOPY2
>
> but it fails with the following errors
>
> IEW2230S 0414 MODULE HAS NO TEXT.
> IEW2677S 5130 A VALID ENTRY POINT COULD NOT BE DETERMINED.
> IEW2621E 4314 EXISTING ALIAS NAME PCOPY2 WITHIN MODULE TEMPNAM0 MATCHES
> ALIAS  BEING ADDED.
> IEW2012I 0F09 ALL TEMPNAMES HAVE BEEN USED. THE MODULE CANNOT BE SAVED.
> IEW2008I 0F03 PROCESSING COMPLETED.  RETURN CODE =  12.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to