<?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: To copy the data from one member of the pds to the other in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/To-copy-the-data-from-one-member-of-the-pds-to-the-other/m-p/28580#M5266</link>
    <description>You can use a combination of PROC PDSCOPY and PROC PDS to complete this task. Or you may want to consider a DATA step approach to read/write each of your members, as needed.&lt;BR /&gt;
&lt;BR /&gt;
The SAS companion document for z/OS MVS can be found at the SAS support &lt;A href="http://support.sas.com/" target="_blank"&gt;http://support.sas.com/&lt;/A&gt;  website, using the SEARCH facility or an Internet search.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
Suggested Google advanced search arguments, this topic / post:&lt;BR /&gt;
proc pdscopy pds site:sas.com&lt;BR /&gt;
&lt;BR /&gt;
data step "pds member" +copy site:sas.com&lt;BR /&gt;
&lt;BR /&gt;
Additional SAS support site's code sample (from the search above):&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/24/701.html" target="_blank"&gt;http://support.sas.com/kb/24/701.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/hosto390/61886/HTML/default/viewer.htm#mvs-accexf-writing.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/hosto390/61886/HTML/default/viewer.htm#mvs-accexf-writing.htm&lt;/A&gt;</description>
    <pubDate>Sun, 13 Mar 2011 20:24:10 GMT</pubDate>
    <dc:creator>sbb</dc:creator>
    <dc:date>2011-03-13T20:24:10Z</dc:date>
    <item>
      <title>To copy the data from one member of the pds to the other</title>
      <link>https://communities.sas.com/t5/SAS-Programming/To-copy-the-data-from-one-member-of-the-pds-to-the-other/m-p/28579#M5265</link>
      <description>In a file 'xo94.inputs'  there are two variables userid and the modelid as beow&lt;BR /&gt;
&lt;BR /&gt;
Userid's                modelid's&lt;BR /&gt;
Srgm2001         Srgm2345&lt;BR /&gt;
Srgm2005         Srgm2678&lt;BR /&gt;
Srgm3009         Srgm6997&lt;BR /&gt;
&lt;BR /&gt;
There is a PDS 'xo94.control.userview' where all the above mentioned userid's will be there as a member.&lt;BR /&gt;
I need to copy all the content of usrid srgm2001 from 'xo94.control.userview'&lt;BR /&gt;
to  the file 'xo94.control.userview1' as a member srgm2345.&lt;BR /&gt;
where the new member Srgm2345 should be create as a new member in the file'xo94.control.userview1'and once the content are copied to the newly created member i need to replace all 2001 to 2345 inside the member Srgm2345.&lt;BR /&gt;
similarly as a loop i need to copy for all members in the 'xo94.inputs'&lt;BR /&gt;
Could you please help me how to achieve this .If possible can you proivide me the code  for this..</description>
      <pubDate>Sun, 13 Mar 2011 14:13:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/To-copy-the-data-from-one-member-of-the-pds-to-the-other/m-p/28579#M5265</guid>
      <dc:creator>Sivanandam</dc:creator>
      <dc:date>2011-03-13T14:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: To copy the data from one member of the pds to the other</title>
      <link>https://communities.sas.com/t5/SAS-Programming/To-copy-the-data-from-one-member-of-the-pds-to-the-other/m-p/28580#M5266</link>
      <description>You can use a combination of PROC PDSCOPY and PROC PDS to complete this task. Or you may want to consider a DATA step approach to read/write each of your members, as needed.&lt;BR /&gt;
&lt;BR /&gt;
The SAS companion document for z/OS MVS can be found at the SAS support &lt;A href="http://support.sas.com/" target="_blank"&gt;http://support.sas.com/&lt;/A&gt;  website, using the SEARCH facility or an Internet search.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
Suggested Google advanced search arguments, this topic / post:&lt;BR /&gt;
proc pdscopy pds site:sas.com&lt;BR /&gt;
&lt;BR /&gt;
data step "pds member" +copy site:sas.com&lt;BR /&gt;
&lt;BR /&gt;
Additional SAS support site's code sample (from the search above):&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/24/701.html" target="_blank"&gt;http://support.sas.com/kb/24/701.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/hosto390/61886/HTML/default/viewer.htm#mvs-accexf-writing.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/hosto390/61886/HTML/default/viewer.htm#mvs-accexf-writing.htm&lt;/A&gt;</description>
      <pubDate>Sun, 13 Mar 2011 20:24:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/To-copy-the-data-from-one-member-of-the-pds-to-the-other/m-p/28580#M5266</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2011-03-13T20:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: To copy the data from one member of the pds to the other</title>
      <link>https://communities.sas.com/t5/SAS-Programming/To-copy-the-data-from-one-member-of-the-pds-to-the-other/m-p/28581#M5267</link>
      <description>Could you please provide me sample code so that it will be more helpful for me..</description>
      <pubDate>Wed, 20 Apr 2011 03:38:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/To-copy-the-data-from-one-member-of-the-pds-to-the-other/m-p/28581#M5267</guid>
      <dc:creator>Sivanandam</dc:creator>
      <dc:date>2011-04-20T03:38:00Z</dc:date>
    </item>
  </channel>
</rss>

