28.09.
2012

[◀ JCL Batch Jobs]

Contents

  1. Defining a non-VSAM dataset
  2. Deleting a non-VSAM catalog entry
  3. Deleting a non-VSAM
  4. Deleting members from PDS

Defining a non-VSAM dataset [▲ Top]

//*
//* +----1----+----2----+----3----+----4----+----5----+----6----+----7-
//*
//STEP1   EXEC PGM=IDCAMS
//SYSPRINT DD  SYSOUT=*
//SYSIN    DD  *
 DEFINE NONVSAM(                                           -
                NAME(dataset.name)                         -
                VOLUMES(volser)                            -
                DEVICETYPES(3390)                          -
                RECATALOG                                  -
               )                                           -
        CATALOG(ucat.name)
/*

Deleting a non-VSAM catalog entry [▲ Top]

//*
//* +----1----+----2----+----3----+----4----+----5----+----6----+----7-
//*
//STEP1   EXEC PGM=IDCAMS
//SYSPRINT DD  SYSOUT=*
//SYSIN    DD  *
 DELETE dataset.name NOSCRATCH
/*

Deleting a non-VSAM [▲ Top]

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

Deleting members from PDS [▲ Top]

//*
//* +----1----+----2----+----3----+----4----+----5----+----6----+----7-
//*
//STEP1   EXEC PGM=IDCAMS
//SYSPRINT DD  SYSOUT=*
//SYSIN    DD  *
 DELETE 'dataset.name(memberA)'
 DELETE 'dataset.name(memberB)'
 ...
 DELETE 'dataset.name(memberX)'
/*

Kein Kommentar

Kommentieren

Dein Kommentar

*

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