<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Need to read all generations of a mainframe GDG file in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Need-to-read-all-generations-of-a-mainframe-GDG-file/m-p/218107#M53631</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tom,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your prompt response... The files I want to read are on mainframes(all generations of a GDG) but my SAS process and jobs are in UNIX environment through which I need to read all these files hence I can not do it through JCL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; -Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp; Mohit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 May 2015 19:18:59 GMT</pubDate>
    <dc:creator>mmehr3</dc:creator>
    <dc:date>2015-05-21T19:18:59Z</dc:date>
    <item>
      <title>Need to read all generations of a mainframe GDG file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Need-to-read-all-generations-of-a-mainframe-GDG-file/m-p/218105#M53629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a mainframe GDG file with about 50 generations and I need to read all of those through SAS on Unix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please tell me of a way through which I may just need to mention the infile statement once for the GDG base and it may read all of the generations of the g of that GDG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Thanks&lt;/P&gt;&lt;P&gt; Mohit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 18:51:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Need-to-read-all-generations-of-a-mainframe-GDG-file/m-p/218105#M53629</guid>
      <dc:creator>mmehr3</dc:creator>
      <dc:date>2015-05-21T18:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: Need to read all generations of a mainframe GDG file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Need-to-read-all-generations-of-a-mainframe-GDG-file/m-p/218106#M53630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure I understand the question.&amp;nbsp; Doesn't the JCL take care of what generation it reads.&amp;nbsp; Do you want exact 50 or all generations.&lt;/P&gt;&lt;P&gt;Does this thread help?&lt;/P&gt;&lt;P&gt;&lt;A href="https://groups.google.com/forum/#!topic/bit.listserv.ibm-main/jYS29gyG310"&gt;https://groups.google.com/forum/#!topic/bit.listserv.ibm-main/jYS29gyG310&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 18:58:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Need-to-read-all-generations-of-a-mainframe-GDG-file/m-p/218106#M53630</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2015-05-21T18:58:38Z</dc:date>
    </item>
    <item>
      <title>Re: Need to read all generations of a mainframe GDG file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Need-to-read-all-generations-of-a-mainframe-GDG-file/m-p/218107#M53631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tom,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your prompt response... The files I want to read are on mainframes(all generations of a GDG) but my SAS process and jobs are in UNIX environment through which I need to read all these files hence I can not do it through JCL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; -Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp; Mohit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 19:18:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Need-to-read-all-generations-of-a-mainframe-GDG-file/m-p/218107#M53631</guid>
      <dc:creator>mmehr3</dc:creator>
      <dc:date>2015-05-21T19:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: Need to read all generations of a mainframe GDG file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Need-to-read-all-generations-of-a-mainframe-GDG-file/m-p/218108#M53632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's been a few years since I last touched a mainframe but you can use the SAS FILENAME statement to allocate GDGs just like JCL:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;filename GDG 'name1.gdg' disp = shr; or filename GDG 'name1.gdg(0)' disp = shr; if you just want a single generation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 19:33:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Need-to-read-all-generations-of-a-mainframe-GDG-file/m-p/218108#M53632</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2015-05-21T19:33:04Z</dc:date>
    </item>
    <item>
      <title>Re: Need to read all generations of a mainframe GDG file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Need-to-read-all-generations-of-a-mainframe-GDG-file/m-p/218109#M53633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create macro loop from 1 to 50 like&lt;/P&gt;&lt;P&gt;%macro loop ;&lt;/P&gt;&lt;P&gt; %do i=1 %to 50;&lt;/P&gt;&lt;P&gt;libname X1&amp;amp;i. " GDG name (&amp;amp;I.)" disp=shr;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data test;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; set X1&amp;amp;i;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;so on..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 May 2015 09:33:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Need-to-read-all-generations-of-a-mainframe-GDG-file/m-p/218109#M53633</guid>
      <dc:creator>ravi_paradkar</dc:creator>
      <dc:date>2015-05-22T09:33:48Z</dc:date>
    </item>
  </channel>
</rss>

