How to recover a deleted compile listing from a restored ELIB.
search cancel

How to recover a deleted compile listing from a restored ELIB.

book

Article ID: 437069

calendar_today

Updated On:

Products

Endevor

Issue/Introduction

In the process of deleting obsolete elements, a compile listing that was needed was deleted from Endevor. Is there a way to copy the compile listing from a RESTORED ELIB?

Resolution

Use the Endevor ELIB Copy Utility supplied in .CSIQJCL(BC1JNCPY). In this utility you can specify the ELIBI as the RESTORED ELIB and the ELIBO as the destination ELIB. You can specify a single element using MEMBER in the SCL statements highlighted below.

//*-----------------------------------------------------
//*   STEP 1 -- EXECUTE ELIB COPY UTILITY               
//*-----------------------------------------------------                        
//STEP1    EXEC PGM=NDVRC1,PARM='BC1PNCPY',REGION=4096K 
//STEPLIB DD DISP=SHR,DSN=YOUR.ENDEVOR.CSIQAUTU        
//        DD DISP=SHR,DSN=YOUR.ENDEVOR.CSIQAUTH        
//CONLIB   DD DISP=SHR,DSN=YOUR.ENDEVOR.CSQILOAD                               
//ELIBI    DD DISP=SHR,DSN=&U@PRFX..&[email protected]     
//ELIBO    DD DISP=SHR,DSN=&U@PRFX..&[email protected]    
//SYSIN    DD *                                         
COPY                                                    
     INPUT  DDN ELIBI                                   
     OUTPUT DDN ELIBO                                   
     MEMBER <insert member name>                             
.                                                       
//BSTERR   DD SYSOUT=*                                  
//SYSPRINT DD SYSOUT=*                                  
//SYMDUMP  DD DUMMY                                     
//SYSDUMP  DD DUMMY