<?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: How to use a proc datasets move statement but with a password in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-use-a-proc-datasets-move-statement-but-with-a-password/m-p/981605#M46348</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC DATASETS LIBRARY=source;
  COPY IN=source OUT=target MOVE alter = 'Mypassword';                                                                                               /* MOVE copies and deletes original */
  SELECT dim_calendrier_v1 jourouvrableprovds jourouvrablenatds jourouvrableetdprovds jourouvrableetdnatds;                     /* Specify the dataset to move */
  QUIT;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 07 Jan 2026 03:58:07 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2026-01-07T03:58:07Z</dc:date>
    <item>
      <title>How to use a proc datasets move statement but with a password</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-use-a-proc-datasets-move-statement-but-with-a-password/m-p/981584#M46341</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/* 1. Define LIBNAMEs for your folders */

LIBNAME source spde '/Temp/Alain/OP/dim/';
LIBNAME target spde '/Temp/Alain/OP/dim/old2/';

/* 2. Use PROC DATASETS to move the dataset */

PROC DATASETS LIBRARY=source;
  COPY IN=source OUT=target MOVE;                                                                                               /* MOVE copies and deletes original */
  SELECT dim_calendrier_v1 jourouvrableprovds jourouvrablenatds jourouvrableetdprovds jourouvrableetdnatds;                     /* Specify the dataset to move */
  QUIT;
RUN;

/* 3. Verify the move (optional) */

proc contents data=source._all_ nods;
run;                                      /* Check if it's gone from source */

proc contents data=target._all_ nods;
run;                                   /* Check if it's there in target */
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;How to modify this script if all the tables has the same password (write=po alter=po)&lt;/P&gt;
&lt;P&gt;Please provide a working example&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jan 2026 21:16:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-use-a-proc-datasets-move-statement-but-with-a-password/m-p/981584#M46341</guid>
      <dc:creator>alepage</dc:creator>
      <dc:date>2026-01-06T21:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a proc datasets move statement but with a password</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-use-a-proc-datasets-move-statement-but-with-a-password/m-p/981590#M46343</link>
      <description>&lt;P&gt;You need to provide the ALTER password on the MOVE option:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SASKiwi_0-1767737683397.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/112519iE2C39ED8D3E291C9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SASKiwi_0-1767737683397.png" alt="SASKiwi_0-1767737683397.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Here's the &lt;A href="https://documentation.sas.com/doc/id/pgmsascdc/9.4_3.5/proc/p1juxu16zautpxn1dikxecc3kn7w.htm#p0z3ton3aflrizn1v5t4ivh3dibp" target="_blank" rel="noopener"&gt;link&lt;/A&gt; to the SAS doc with the above COPY statement.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jan 2026 22:17:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-use-a-proc-datasets-move-statement-but-with-a-password/m-p/981590#M46343</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2026-01-06T22:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a proc datasets move statement but with a password</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-use-a-proc-datasets-move-statement-but-with-a-password/m-p/981600#M46346</link>
      <description>&lt;P&gt;Please provide an example&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jan 2026 03:26:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-use-a-proc-datasets-move-statement-but-with-a-password/m-p/981600#M46346</guid>
      <dc:creator>alepage</dc:creator>
      <dc:date>2026-01-07T03:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a proc datasets move statement but with a password</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-use-a-proc-datasets-move-statement-but-with-a-password/m-p/981605#M46348</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC DATASETS LIBRARY=source;
  COPY IN=source OUT=target MOVE alter = 'Mypassword';                                                                                               /* MOVE copies and deletes original */
  SELECT dim_calendrier_v1 jourouvrableprovds jourouvrablenatds jourouvrableetdprovds jourouvrableetdnatds;                     /* Specify the dataset to move */
  QUIT;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 07 Jan 2026 03:58:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-use-a-proc-datasets-move-statement-but-with-a-password/m-p/981605#M46348</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2026-01-07T03:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a proc datasets move statement but with a password</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-use-a-proc-datasets-move-statement-but-with-a-password/m-p/981610#M46350</link>
      <description>Consider using the external command (mv on UNIX) to move the files. If the move happens within the same physical filesystem, mv will only move the directory entries, which is much faster.&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Jan 2026 08:34:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-use-a-proc-datasets-move-statement-but-with-a-password/m-p/981610#M46350</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2026-01-07T08:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a proc datasets move statement but with a password</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-use-a-proc-datasets-move-statement-but-with-a-password/m-p/981676#M46354</link>
      <description>Kurt,&lt;BR /&gt;OP used SPDE engine, that means a sas dataset is consist of several small file which extension name is .spds9 . &lt;BR /&gt;If using OS command to move these .spds9 file, then this sas dataset might be ruined or corrupted.</description>
      <pubDate>Thu, 08 Jan 2026 07:32:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-use-a-proc-datasets-move-statement-but-with-a-password/m-p/981676#M46354</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2026-01-08T07:32:58Z</dc:date>
    </item>
  </channel>
</rss>

