Generation Data Group

Generation Data Group

Generation Data Group (GDG) ist eine Sonderform von Dateien unter Großrechner-Betriebssystemen der IBM-z/OS-Reihe. Die eigentliche GDG ist eine Beschreibung, wie viele Generationen einer Datei gehalten werden sollen und wie alt die älteste Generation mindestens sein muss, bevor sie gelöscht wird.

Wann immer eine neue Generation angelegt wird, wird vom System geprüft, ob eine oder mehrere veraltete Generationen gelöscht werden sollen, und führt bei Bedarf die Löschung durch.

Der Sinn von GDGs liegt in der automatischen Historisierung, wobei für die JCL, die Kommandosprache, der Name neutral angegeben wird. Als DSN erscheint der GDG-Name zusammen mit der Historien-Nummer wobei

  • (0) die jüngste, aktuelle Version ist
  • (-1), (-2), ... die nächst älteren Generationen sind
  • (+1) eine neue Generation anlegt (siehe DD)

Eine weitere Möglichkeit der Verwendung von GDGs liegt in der Möglichkeit, alle Generationen gleichzeitig innerhalb einer JCL anzusprechen, ohne das dazu die Anzahl der aktuell vorhandenen Generationen bekannt sein muss. Hierfür muss man in der JCL bei der Angabe des Datasets einfach die Klammer und die Generationsnummer weglassen.

Beispiel

Anlegen eines Standard-GDGs für fünf Sicherheitskopien, jede mindestens 35 Tage alt:

//IDCAMS EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
  DEFINE GDG (NAME('DB2.FULLCOPY.DSNDB04.TSTEST') LIMIT(5) SCRATCH FOR(35))
/*

Weblinks


Wikimedia Foundation.

Игры ⚽ Нужно решить контрольную?

Schlagen Sie auch in anderen Wörterbüchern nach:

  • Data set — Ein Dataset bezeichnet eine größere, zusammenhängende Datenmenge, nicht zu verwechseln mit einem Datensatz einer Datenbanktabelle. Im Detail hat der Begriff aber je nach Kontext unterschiedliche Bedeutungen: Dataset, IBM Großrechner Hier ist… …   Deutsch Wikipedia

  • Data collector — In the UK electricity system, a Data Collector (DC) is responsible for determining the electricity consumption of supplies. Contents 1 Half hourly Data Collector 2 Non half hourly Data Collector 3 See also 4 …   Wikipedia

  • Data center — An operation engineer overseeing a Network Operations Control Room of a data center. A data center (or data centre or datacentre or datacenter) is a facility used to house computer systems and associated components, such as telecommunications and …   Wikipedia

  • Data General — Industry Computer Fate Acquired Successor EMC Corporation Founded 1968 …   Wikipedia

  • Data (Star Trek) — Data Data on the bridge of the Enterprise D Species Android Home planet Omicron Theta Affiliation United Federation of Planets Starfleet …   Wikipedia

  • Data sharing — is the practice of making data used for scholarly research available to other investigators. Replication has a long history in science. The motto of The Royal Society is Nullius in verba , translated Take no man s word for it. [1] Many funding… …   Wikipedia

  • Data Encryption Standard — The Feistel function (F function) of DES General Designers IBM First publis …   Wikipedia

  • Generation X — is a term used to describe generations in the United States and other countries born between the approximate years of 1965 to 1981, [http://www.time.com/time/arts/article/0,8599,1731528,00.html Gen X: The Ignored Generation? TIME ] ] the late… …   Wikipedia

  • Data Storage Institute — (Singapore) Vision To be a vital node in a global community of knowledge generation and innovation, nurturing research talents and capabilities for world class Research Development in next generation technologies. Mission To establish Singapore… …   Wikipedia

  • Data transmission — Data transmission, digital transmission, or digital communications is the physical transfer of data (a digital bit stream) over a point to point or point to multipoint communication channel. Examples of such channels are copper wires, optical… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”