If PCOPY2 is an alias of PCOPY

  INCLUDE SYSLIB(PCOPY)                                              
  SETCODE AC(1)   ALIAS PCOPY2 
  NAME PCOPY(R)

On Thu, 3 Nov 2011 15:11:21 -0500 Fred Kaptein <[email protected]> wrote:

:>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.                    
:>
:>We do not have the source for PCOPY    
:>
:>Does anyone know the correct JCL?

--
Binyamin Dissen <[email protected]>
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.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to