Загрузка...

JCL Tutorial - DELETE GDG Base in JCL | DELETE GDG Generations | JCL GDG | How to delete a GDG Base?

#jcl #jcltutorial #cobol #coboltutorial #mainframe #topictirck #GDG

Hola, welcome back to JCL Tutorial on "How to DELETE GDG Base in JCL". JCL GDGs or Generation Data Groups or Mainframe GDGs are generally used for storing backups. In this GDG Mainframe tutorial, you'll learn to DELETE GDG Base by using IDCAMS utility. You'll also learn how to delete a generation data group and generations data group data sets. Finally, at the end of the GDG Base tutorial, I will showcase a sample JCL to delete GDG generations PURGE FORCE. Let's get started with a tutorial on DELETE GDG.

► Index Details ◄
0:00 Welcome.
0:33 JCL GDG Tutorial Agenda.
1:35 JCL GDG Introduction.
2:01 Sample JCL to DELETE GDG Generations.
2:41 DELETE GDG Command with PURGE and FORCE.
3:15 GDG interview question.
3:35 Mainframe GDG Tutorial End.

► Introduction to GDG or GDG base or Generation Data Group.
A mainframe GDG base is a collection of two or more similar versions of the same data set for example monthly salary data. They are generally used to maintain critical data backups. Each file in the GDG base can be referred to as a generation data-set. GDG data-sets are non-VSAM sequential data sets that reside on tape or DASD.

►GDG- Generation Number Format or generation version: data-setname.GaaaaVnn
aaaa - value lies between 0000 to 9999.
nn - value lies between 00 to 99.

► Example: TT.EMP.MNTH.SAL.G0001V00 ◄ Max length of GDG Base name is 35 char.

Every time a generation data set is processed, a new generation of the data set is added to the GDG base. This new version becomes the current generation, and the old current generation becomes the previous generation.

In order to refer to the generations of a GDG, you can use relative generation numbers to quickly access the GDG dataset.

► The current generation is referred to as generation 0.
► Previous generations are referred to as generations -1, -2, -3, and so on.
► Next Generation is referred to as +1.

► Important Point: While the current generation is being updated, the next generation is referred to as +1. But as soon as the job is finished, the next generation becomes the current generation (0), and the other relative generation numbers are reduced by 1.

► DELETEGDG Command Syntax.
DELETE Entry-Name
GDG | GENERATIONDATAGROUP
[ PURGE | NOPURGE ]
[ FORCE | NOFORCE ]

► How to DELETE GDG base via IDCAMS delete command.
//JOB Card...
//STEP001 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DELETE TT.EMP.MNTH.SAL.DATA GDG -
PURGE –
FORCE
/*

►Subscribe to Topictrick & Don't forget to press THE BELL ICON to never miss any updates. ◄

Also, Please visit below mention the link to stay connected with Topictrick on -

► Official Website : www.topictrick.com
► Youtube : topictrick
► Follow us on Twitter : https://twitter.com/topictrick
► Facebook : https://www.facebook.com/topictrick/
► Linkedin : https://www.linkedin.com/showcase/topictrick
► Reddit : https://www.reddit.com/r/topictrick/
► Mainframe Blog : https://mainframe-forum.blogspot.com

Thank you for your support.
Topictrick™

Видео JCL Tutorial - DELETE GDG Base in JCL | DELETE GDG Generations | JCL GDG | How to delete a GDG Base? канала Topictrick
Яндекс.Метрика

На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.

Об использовании CookiesПринять