<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Mainframe is Back &#187; GDG</title>
	<atom:link href="http://www.ibmmainframe.cn/tag/gdg/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ibmmainframe.cn</link>
	<description>Everything about Mainframe: 中文大型机资讯网</description>
	<lastBuildDate>Sun, 25 Sep 2011 16:32:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>JCL about GDG</title>
		<link>http://www.ibmmainframe.cn/2007/01/jcl-about-gdg/</link>
		<comments>http://www.ibmmainframe.cn/2007/01/jcl-about-gdg/#comments</comments>
		<pubDate>Mon, 22 Jan 2007 14:01:00 +0000</pubDate>
		<dc:creator>billrain</dc:creator>
				<category><![CDATA[JCL]]></category>
		<category><![CDATA[GDG]]></category>

		<guid isPermaLink="false">http://www.ibmmainframe.cn/2007/01/22/jcl-about-gdg/</guid>
		<description><![CDATA[1. 创建一个GDG，包括base和model: //STEP1 EXEC PGM=IDCAMS//GDGMODEL DD DSN=ST023.TEST.GDGMDL, DISP=(NEW,CATLG,DELETE), SPACE=(TRK,(0)), DCB=(RECFM=FB,LRECL=80,BLKSIZE=4000) //SYSPRINT DD SYSOUT=*//SYSIN DD * DEFINE GDG (NAME(ST023.TEST.GDG) LIMIT(100) &#8211;THIS IS GDG BASE!&#8211;/* 2. 在GDG中创建DS： //STEP2 EXEC PGM=IEBGENER//SYSUT1 DD DSN=ST023.TEST.ORIGINAL,DISP=SHR//SYSUT1 DD DSN=ST023.TEST.GDG(+1), DISP=(NEW,CATLG,DELETE), SPACE=(TRK,(5,5)), DCB=ST023.TEST.GDGMDL //SYSPRINT DD SYSOUT=* 3. 删除GDG，删除其中的DS先： //STEP3 EXEC PGM=IDCAMS//SYSPRINT DD SYSOUT=*//SYSIN DD *DELETE ST023.TEST.GDG.*DELETE ST023.TEST.GDGMDL/*//STEP4 EXEC PGM=IDCAMS,COND=(0,NE)//SYSPRINT DD SYSOUT=*//SYSIN DD *DELETE<a href="http://www.ibmmainframe.cn/2007/01/jcl-about-gdg/">&#160;&#160;[ Read More ]</a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>1. 创建一个GDG，包括base和model:</p>
<p>//STEP1 EXEC PGM=<span style="font-weight:bold;">IDCAMS</span><br />//<span style="font-weight:bold;">GDGMODEL</span> DD DSN=ST023.TEST.GDGMDL,
<div style="text-align:center;">                   DISP=(NEW,CATLG,DELETE), SPACE=(TRK,(0)),</div>
<div style="text-align:center;">                   DCB=(RECFM=FB,LRECL=80,BLKSIZE=4000)</div>
<p>//SYSPRINT DD SYSOUT=*<br />//SYSIN DD *<br /> DEFINE GDG (NAME(ST023.TEST.GDG) LIMIT(100)               &#8211;THIS IS GDG BASE!&#8211;<br />/*</p>
<p>2. 在GDG中创建DS：</p>
<p>//STEP2 EXEC PGM=<span style="font-weight:bold;">IEBGENER</span><br />//SYSUT1 DD DSN=ST023.TEST.ORIGINAL,DISP=SHR<br />//SYSUT1 DD DSN=ST023.TEST.GDG(+1),
<div style="text-align:center;">                   DISP=(NEW,CATLG,DELETE), SPACE=(TRK,(5,5)),</div>
<div style="text-align:center;">                   DCB=ST023.TEST.GDGMDL</div>
<p>//SYSPRINT DD SYSOUT=*</p>
<p>3. 删除GDG，删除其中的DS先：</p>
<p>//STEP3 EXEC PGM=<span style="font-weight:bold;">IDCAMS<br /></span>//SYSPRINT DD SYSOUT=*<br />//SYSIN DD *<br />DELETE ST023.TEST.GDG.*<br />DELETE ST023.TEST.GDGMDL<br />/*<br />//STEP4 EXEC PGM=<span style="font-weight:bold;">IDCAMS</span>,COND=(0,NE)<br />//SYSPRINT DD SYSOUT=*<br />//SYSIN DD *<br />DELETE ST023.TEST.GDG GDG<br />/*</p>
<div class="shr-publisher-31"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://www.ibmmainframe.cn/2011/06/%e3%80%90%e5%8e%9f%e5%88%9b%e4%b8%8b%e8%bd%bd%e3%80%91jcl%e5%ae%9e%e7%94%a8%e6%8c%87%e5%8d%97v2-00/" title="【原创下载】JCL实用指南V2.00">【原创下载】JCL实用指南V2.00</a></li><li><a href="http://www.ibmmainframe.cn/2010/05/dse101-jcl-handbook/" title="DSE 大型机实用指南系列第一弹 JCL Handbook">DSE 大型机实用指南系列第一弹 JCL Handbook</a></li><li><a href="http://www.ibmmainframe.cn/2008/12/jcl-utility-%e4%b9%8b-idcams%e5%88%a0%e9%99%a4data-setdeleting-cataloged-data-sets/" title="JCL Utility 之 IDCAMS删除Data Set(Deleting Cataloged Data Sets)">JCL Utility 之 IDCAMS删除Data Set(Deleting Cataloged Data Sets)</a></li><li><a href="http://www.ibmmainframe.cn/2008/12/jcl-utility-%e4%b9%8b-idcams%e9%87%8d%e5%91%bd%e5%90%8ddata-setrenaming-data-sets/" title="JCL Utility 之 IDCAMS重命名Data Set(Renaming Data Sets)">JCL Utility 之 IDCAMS重命名Data Set(Renaming Data Sets)</a></li><li><a href="http://www.ibmmainframe.cn/2008/12/jcl-utility-%e4%b9%8b-idcams%e8%be%93%e5%87%badata-set/" title="JCL Utility 之 IDCAMS输出Data Set">JCL Utility 之 IDCAMS输出Data Set</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.ibmmainframe.cn/2007/01/jcl-about-gdg/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GDG: Generation Data Group</title>
		<link>http://www.ibmmainframe.cn/2007/01/gdg-generation-data-group/</link>
		<comments>http://www.ibmmainframe.cn/2007/01/gdg-generation-data-group/#comments</comments>
		<pubDate>Mon, 22 Jan 2007 13:28:00 +0000</pubDate>
		<dc:creator>billrain</dc:creator>
				<category><![CDATA[开发指南||Programming Guide]]></category>
		<category><![CDATA[data set]]></category>
		<category><![CDATA[GDG]]></category>
		<category><![CDATA[zOS]]></category>

		<guid isPermaLink="false">http://www.ibmmainframe.cn/2007/01/22/gdg-generation-data-group/</guid>
		<description><![CDATA[In z/OS, it is possible to catalog successive updates or generations of related data. They are called generation data groups (GDGs). 在z/OS里可以编目继承性的更新或相关数据的世代，他们叫做“世代”数据组。 Each data set within a GDG is called a generation or generation data set (GDS). A generation data group (GDG) is a collection of historically related non-VSAM data sets that are arranged in<a href="http://www.ibmmainframe.cn/2007/01/gdg-generation-data-group/">&#160;&#160;[ Read More ]</a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>In z/OS, it is possible to catalog successive updates or generations of related data. They are called generation data groups (GDGs).</p>
<p>在z/OS里可以编目继承性的更新或相关数据的世代，他们叫做“世代”数据组。</p>
<p>Each data set within a GDG is called a generation or generation data set (GDS). A generation data group (GDG) is a collection of historically related non-VSAM data sets that are arranged in chronological order. That is, each data set is historically related to the others in the group.</p>
<p>每一个GDG中的数据集叫做一个世代数据集。一个GDG是一组有历史关联的非VSAM数据集按照年代顺序排列组成的，即每个数据集是于组中其他数据集历史关联的。</p>
<p>Within a GDG, the generations can have like or unlike DCB attributes and data set organizations. If the attributes and organizations of all generations in a group are identical, the generations can be retrieved together as a single data set.</p>
<p>在GDG中，数据集可以使用相同的或不同的DCB属性和数据结构。如果一个组中数据集的这些属性和结构都是一样的，那么这个世代可以作为一个单独的数据集来访问。</p>
<p>There are advantages to grouping related data sets. For example:<br /> All of the data sets in the group can be referred to by a common name.<br /> The operating system is able to keep the generations in chronological order.<br /> Outdated or obsolete generations can be automatically deleted by the operating system.</p>
<p>把相关联的数据集组合起来有下列好处：<br /> 组中所有数据集可以共用一个名字；<br /> OS可以保证世代依年代顺序；<br /> 过期的或者作废的数据集可以被系统自动删除。</p>
<p>Generation data sets have sequentially ordered absolute and relative names that represent their age. The operating system’s catalog management routines use the absolute generation name. Older data sets have smaller absolute numbers. The relative name is a signed integer used to refer to the latest (0), the next to the latest (-1), and so forth, generation.</p>
<p>GDG用绝对顺序的排列和相对名来体现他们的年代。OS的常规编目管理用绝对的世代名称。旧的数据集用小一些的绝对数，相对名是一个带符号整数用来体现：最新的（0），次新的（－1）等等。</p>
<p>For example, the data set name LAB.PAYROLL(0) refers to the most recent data set of the group; LAB.PAYROLL(-1) refers to the second most recent data set; and so forth. The relative number can also be used to catalog a new generation (+1). A generation data group (GDG) base is allocated in a catalog before the generation data sets are cataloged. Each GDG is represented by a GDG base entry.</p>
<p>比如，数据集LAB.PAYROLL(0)表示为组中最新的数据集；LAB.PAYROLL(-1)表示是第二新的。相对数同样可以用来建立一个新的世代（＋1）。一个GDG base建立在GDGs建立之前，每个GDG都是由GDG base 条目来显示的。</p>
<div class="shr-publisher-30"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://www.ibmmainframe.cn/2011/08/hercules-zos-1-11-customize-step-by-step-s4-proclib/" title="[Hercules z/OS 1.11 customize step by step] &ndash; S4 PROCLIB">[Hercules z/OS 1.11 customize step by step] &ndash; S4 PROCLIB</a></li><li><a href="http://www.ibmmainframe.cn/2011/01/how-to-allocate-stand-alone-dump-on-multiple-volumes/" title="How to allocate Stand Alone DUMP on multiple volumes?">How to allocate Stand Alone DUMP on multiple volumes?</a></li><li><a href="http://www.ibmmainframe.cn/2010/09/hercules-zos-1-9-setup-on-windows764bit/" title="Hercules z/OS 1.9 Setup on Windows7(64bit)">Hercules z/OS 1.9 Setup on Windows7(64bit)</a></li><li><a href="http://www.ibmmainframe.cn/2010/05/qa-how-to-delete-ds-hold-by-xcfas-or-lla/" title="[Q&amp;A] How to delete DS hold by XCFAS or LLA?">[Q&amp;A] How to delete DS hold by XCFAS or LLA?</a></li><li><a href="http://www.ibmmainframe.cn/2007/01/jcl-about-gdg/" title="JCL about GDG">JCL about GDG</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.ibmmainframe.cn/2007/01/gdg-generation-data-group/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Served from: www.ibmmainframe.cn @ 2012-02-09 13:48:17 -->
