Converting Endevor Load Libraries from PDS to PDSE
search cancel

Converting Endevor Load Libraries from PDS to PDSE

book

Article ID: 137047

calendar_today

Updated On:

Products

Endevor Endevor Natural Integration

Issue/Introduction

Does Endevor have a Utility that can be used outside of a processor to convert from PDS to PDSe Libraries? 

Environment

Release : All Supported Releases

Component : Endevor

Resolution

BSTXCOPY is an Endevor utility that performs the same functions as the Endevor processor utility BSTCOPY. However, you can use BSTXCOPY to perform these functions outside of a Endevor processor. BSTCOPY can only be executed within an Endevor processor.

BSTXCOPY can be used to copy between PDS load libraries and PDSE load libraries, from PDSE to PDSE, and from PDSE back to PDS. BSTXCOPY can copy aliases but the original loadlib member must be present in the From library.

The following JCL shows how to execute this utility. The first library in the STEPLIB contains the Endevor site-specific modules (C1DEFLTS, ENDICNFG, and so on):

//COPYEX EXEC PGM=NDVRC1,PARM='CONCALL,DDN:CONLIB,BSTXCOPY'
 // INCLUDE MEMBER=SCMM@LIB
 //SYSPRINT DD SYSOUT=*                                                  
 //SYSUT3   DD UNIT=VIO,SPACE=(CYL,(1,2))                                
 //SYSUT4   DD UNIT=VIO,SPACE=(CYL,(1,2))                               
 //IND1     DD DISP=(OLD,PASS),DSN=YOUR.PDS.LOADLIB   (PDS)                  
 //IND2     DD DISP=(OLD,PASS),DSN=YOUR.PDS.LOADLIB  (PDS)                
 //OUTDD    DD DISP=(OLD,PASS),DSN=YOUR.NEW.PDSE.LOADLIB  (PDSE)
 //SYSIN    DD *                                                           
    COPY INDD=((IND1,R)),OUTDD=OUTDD                                         
    COPY INDD=((IND2,R)),OUTDD=OUTDD


Note: To copy a specific member, the following syntax can be used.
//SYSIN    DD *             
 COPY INDD=IND1,OUTDD=OUTDD 
 SELECT MEMBER=FARCOB01      

For back-out members, turn on hex mode and use 'FE' for the first character so that the member name is recognized.


//SYSIN    DD *            
66EEECD4444CC45444444444444
11282950000440C000000000000
---------------------------
 COPY INDD=IND1,OUTDD=OUTDD
4CDDE4CDCC7CDCF6DEECC7DEECC
0367809544E9541B64344E64344
---------------------------
 SELECT MEMBER=ÚMNZB3O7    
4ECDCCE4DCDCCD7FDDECFDF4444
02535330454259EE45923670000

For more information about the input syntax and restrictions, see Using Processor Utilities.