Convert an ELIB to a PDSE
search cancel

Convert an ELIB to a PDSE

book

Article ID: 245056

calendar_today

Updated On:

Products

Endevor

Issue/Introduction

Would like to convert Endevor ELIB to a PDSE - is there any documentation on how to do this? 

Resolution

To allocate a new PDS or PDS/E, use ISPF/PDF option 3 (Utilities), option 2 (Data sets), or any suitable IBM utility (such as IEFBR14).

Specify the following DCB, assigning a block size appropriate to your disk device:

  • DCB=(RECFM=VB,LRECL=record length,BLKSIZE=block-size)
  • Forward Deltas - PDS:  DCB=(RECFM=VB,LRECL=259,BLKSIZE=0)
  • Reverse Deltas - PDS: DCB=(RECFM=FB,LRECL=80,BLKSIZE=0)
  • Image Deltas - DCB=(DSORG=PO,RECFM=VB,LRECL=27984,BLKSIZE=0)  

Consider USS files for your binary files

Where record length is the maximum record length that you anticipate storing in the PDS or PDS/E plus the constant 4. Block-size is a number at least 4 greater than the LRECL length.

When specifying the number of directory blocks in each library, you have one directory block for every four elements. For efficiency, directory blocks should be allocated in increments of 45 for a 3390-type device (whatever number can fit on a single track, if you are using another type of device).

To calculate this number, divide the estimated number of elements (members) to be stored in the library by 4. Round up to an even multiple of 45 (assuming a 3390-type device). The number should be the same for the base and delta libraries.

If the Automated Configuration Manager facility (Endevor ACM) is installed at your site, increase the file size by 20 percent and double the number of directory blocks. 

Additional Information

For more information on Element Storage Formats 

Sample Process to follow:

 Step 1

  1. ELIB inquire BASE
  2. Analyze and create MEMBER= statements
  3. ELIB inquire DELTA
  4. Analyze and create MEMBER= statements

Step 2

  1. Are there any elements in this system or system/type?
  2. Backup the type definitions
  3. Update the DEFINITIONS with the new ELIB name(s)
  4. Execute the new type definitions

If there are elements in this system or system/type

  1. BC1PNCPY for the BASE 
  2. BC1PNCPY for the DELTA
  3. Release space in the new PDS/Es
  4. Validate