search cancel

Converting Endevor Load Libraries from PDS to PDSE

book

Article ID: 137047

calendar_today

Updated On:

Products

Endevor Software Change Manager (SCM) Endevor Software Change Manager - Natural Integration (SCM) Endevor Software Change Manager - ECLIPSE Plugin (SCM) Endevor Software Change Manager - Enterprise Workbench (SCM)

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 a CA Endevor SCM utility that performs the same functions as the CA Endevor SCM processor utility BSTCOPY. However, you can use BSTXCOPY to perform these functions outside of a CA Endevor SCM processor. BSTCOPY can only be executed within a CA Endevor SCM 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 [email protected]
 //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.