28.09.
2012

[◀ JCL Batch Jobs]

Contents

  1. Defining a GDG
  2. Deleting a GDG base
  3. Deleting a GDG base with all the included generations

Defining a GDG [▲ Top]

//*
//* +----1----+----2----+----3----+----4----+----5----+----6----+----7-
//*
//STEP1   EXEC PGM=IDCAMS
//SYSPRINT DD  SYSOUT=*
//SYSIN    DD  *
 DEFINE GDG(                                               -
            NAME(gdg.name)                                 -
            LIMIT(255)                                     -
            SCR                                            -
           )
/*

Deleting a GDG base [▲ Top]

The GDG must be empty.

//*
//* +----1----+----2----+----3----+----4----+----5----+----6----+----7-
//*
//STEP1   EXEC PGM=IDCAMS
//SYSPRINT DD  SYSOUT=*
//SYSIN    DD  *
 DELETE gdg.base PURGE
/*

Deleting a GDG base with all the included generations [▲ Top]

//*
//* +----1----+----2----+----3----+----4----+----5----+----6----+----7-
//*
//STEP1   EXEC PGM=IDCAMS
//SYSPRINT DD  SYSOUT=*
//SYSIN    DD  *
 DELETE gdg.base GDG FORCE
/*

Kein Kommentar

Kommentieren

Dein Kommentar

*

Wir benutzen Cookies um die Nutzerfreundlichkeit der Webseite zu verbessen. Durch Deinen Besuch stimmst Du dem zu.