The Makers of FDR®


FDRREORG Technical Detail

FDRREORG Examples

This section contains two simple examples of real FDRREORG jobs, which illustrate how easy it is to use.

VSAM Example

In the example below, all VSAM datasets(DSTYPE=VSAM) with a high-level qualifier of ‘Account’ will be located via the catalog(SELECT CATDSN=ACCOUNT) and will be reviewed by FDRREORG.

Only those datasets which have more than 5% CA Splits and/or more than 10% CI Splits will be reorganized.

The backup files will be GDGs (BACKUP=GDG) and they will have the same name as the original files, with ‘BACKUP’ added as a suffix.

//REORG      EXEC PGM=FDRREORG,REGION=0M
//SYSPRINT    DD SYSOUT=*
//REORGPRT    DD SYSOUT=*
//REORGRPT    DD SYSOUT=*
//SYSIN DD    *

    REORG    BACKUP=GDG,BACKUPUNIT=TAPE,BACKUPINDEX=++BACKUP
    SELECT CATDSN=ACCOUNT.**,DSTYPE=VSAM,IFANY,CASPLITR>5,CISPLITR>10

PDS Example

In the example below, FDRREORG is being run against all TSO volumes (VOL=TSO*), searching for and compressing PDS datasets which are more than 80% full.

//REORGPDS   EXEC PGM=FDRREORG,REGION=0M
//SYSPRINT    DD SYSOUT=*
//REORGPRT    DD SYSOUT=*
//REORGRPT    DD *
//SYSIN       DD *

    REORG
    SELECT  ALLDSN,VOL=TSO*,DSTYPE=PDS,PDSFULL>80

Note: User requests for IEBCOPY in-place compressions can be optionally routed through to FDRREORG to take advantage of its superior performance.

return to top