<?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: Moving text files in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Moving-text-files/m-p/364192#M86338</link>
    <description>I haven't tried in command line and how to check CXCD is enabled</description>
    <pubDate>Mon, 05 Jun 2017 02:48:21 GMT</pubDate>
    <dc:creator>SAS_INFO</dc:creator>
    <dc:date>2017-06-05T02:48:21Z</dc:date>
    <item>
      <title>Moving text files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Moving-text-files/m-p/364178#M86332</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to move .txt files from one folder to another .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The txt files are like ab001.D170605.EDLY.txt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the following code is not working&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;%put&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; x mv "&amp;amp;fpath/AB001.D&amp;amp;tdate..EDLY.TXT" &amp;amp;apath.;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;x&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; mv &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"&amp;amp;fpath/ET001.D&amp;amp;tdate..EDLY.TXT"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; &amp;amp;&lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;apath.&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;where fpath = source location&lt;/P&gt;&lt;P&gt;apath=destination location&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2017 00:29:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Moving-text-files/m-p/364178#M86332</guid>
      <dc:creator>SAS_INFO</dc:creator>
      <dc:date>2017-06-05T00:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: Moving text files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Moving-text-files/m-p/364180#M86333</link>
      <description>&lt;P&gt;Steps to debug this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Does it work in command line&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Does it work without macros&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. Does it work with basic skeleton macro&lt;/P&gt;
&lt;P&gt;4. What does not work mean?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2017 00:35:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Moving-text-files/m-p/364180#M86333</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-06-05T00:35:37Z</dc:date>
    </item>
    <item>
      <title>Re: Moving text files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Moving-text-files/m-p/364187#M86334</link>
      <description>I have checked without macros, but its not moving the file</description>
      <pubDate>Mon, 05 Jun 2017 01:43:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Moving-text-files/m-p/364187#M86334</guid>
      <dc:creator>SAS_INFO</dc:creator>
      <dc:date>2017-06-05T01:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: Moving text files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Moving-text-files/m-p/364188#M86335</link>
      <description>also tried this.&lt;BR /&gt;&lt;BR /&gt;x "move "/data/DEVELOPMENT/LANDING/IN_FILES/ET001.D170605.EDLY.TXT" "/data/DEVELOPMENT/LANDING/ARCHIVED_IN"";&lt;BR /&gt;&lt;BR /&gt;but the files are not moving and log is as follows:&lt;BR /&gt;&lt;BR /&gt;GOPTIONS ACCESSIBLE;&lt;BR /&gt;24 x "move "/data/DEVELOPMENT/LANDING/IN_FILES/ET001.D170605.EDLY.TXT" "/data/DEVELOPMENT/LANDING/ARCHIVED_IN""&lt;BR /&gt;24 ! ;&lt;BR /&gt;25&lt;BR /&gt;26 GOPTIONS NOACCESSIBLE;&lt;BR /&gt;27 %LET _CLIENTTASKLABEL=;&lt;BR /&gt;28 %LET _CLIENTPROCESSFLOWNAME=;&lt;BR /&gt;29 %LET _CLIENTPROJECTPATH=;&lt;BR /&gt;30 %LET _CLIENTPROJECTNAME=;&lt;BR /&gt;31 %LET _SASPROGRAMFILE=;&lt;BR /&gt;32&lt;BR /&gt;33 ;*';*";*/;quit;run;&lt;BR /&gt;34 ODS _ALL_ CLOSE;&lt;BR /&gt;35&lt;BR /&gt;36&lt;BR /&gt;37 QUIT; RUN;&lt;BR /&gt;38&lt;BR /&gt;</description>
      <pubDate>Mon, 05 Jun 2017 01:57:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Moving-text-files/m-p/364188#M86335</guid>
      <dc:creator>SAS_INFO</dc:creator>
      <dc:date>2017-06-05T01:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: Moving text files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Moving-text-files/m-p/364190#M86336</link>
      <description>&lt;P&gt;So what was the answer to Q#1 and 2?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, you're using EG, did you confirm that XMCD is enabled?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2017 02:09:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Moving-text-files/m-p/364190#M86336</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-06-05T02:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: Moving text files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Moving-text-files/m-p/364191#M86337</link>
      <description>&lt;P&gt;could you please try the below code without the quotes to the path mentioned within the x command after the mv command&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;x "mv /data/DEVELOPMENT/LANDING/IN_FILES/ET001.D170605.EDLY.TXT /data/DEVELOPMENT/LANDING/ARCHIVED_IN";&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 05 Jun 2017 02:29:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Moving-text-files/m-p/364191#M86337</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2017-06-05T02:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: Moving text files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Moving-text-files/m-p/364192#M86338</link>
      <description>I haven't tried in command line and how to check CXCD is enabled</description>
      <pubDate>Mon, 05 Jun 2017 02:48:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Moving-text-files/m-p/364192#M86338</guid>
      <dc:creator>SAS_INFO</dc:creator>
      <dc:date>2017-06-05T02:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: Moving text files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Moving-text-files/m-p/364193#M86339</link>
      <description>Hi Jag,&lt;BR /&gt;&lt;BR /&gt;Tried wat u said:&lt;BR /&gt;&lt;BR /&gt;x "move /data/DEVELOPMENT/LANDING/IN_FILES/ET001.D170605.EDLY.TXT /data/DEVELOPMENT/LANDING/ARCHIVED_IN";&lt;BR /&gt;&lt;BR /&gt;But nothing happened</description>
      <pubDate>Mon, 05 Jun 2017 02:51:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Moving-text-files/m-p/364193#M86339</guid>
      <dc:creator>SAS_INFO</dc:creator>
      <dc:date>2017-06-05T02:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: Moving text files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Moving-text-files/m-p/364195#M86340</link>
      <description>could you please try with mv rather than move</description>
      <pubDate>Mon, 05 Jun 2017 03:17:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Moving-text-files/m-p/364195#M86340</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2017-06-05T03:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: Moving text files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Moving-text-files/m-p/364196#M86341</link>
      <description>Wolaa,, it worked, with MV&lt;BR /&gt;</description>
      <pubDate>Mon, 05 Jun 2017 03:21:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Moving-text-files/m-p/364196#M86341</guid>
      <dc:creator>SAS_INFO</dc:creator>
      <dc:date>2017-06-05T03:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: Moving text files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Moving-text-files/m-p/364198#M86342</link>
      <description>&lt;P&gt;Hi Jag,&lt;/P&gt;&lt;P&gt;Tried the following and its working:&lt;/P&gt;&lt;P&gt;x "mv&amp;nbsp; /data/DEVELOPMENT/LANDING/IN_FILES/ET002A.D170605.EDLY.TXT&amp;nbsp; /data/DEVELOPMENT/LANDING/ARCHIVED_IN";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I would like to use the macros for location and tdate of the file as:&lt;BR /&gt;x "mv&amp;nbsp; &amp;amp;fpath/ET002A.&amp;amp;tdate..EDLY.TXT&amp;nbsp; &amp;amp;apath";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;where &amp;amp;tdate is todays date&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2017 03:57:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Moving-text-files/m-p/364198#M86342</guid>
      <dc:creator>SAS_INFO</dc:creator>
      <dc:date>2017-06-05T03:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: Moving text files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Moving-text-files/m-p/364199#M86343</link>
      <description>&lt;P&gt;Post the full code you're trying to use, include the macro declarations. We don't know how you're defining them or what they look like&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2017 04:00:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Moving-text-files/m-p/364199#M86343</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-06-05T04:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: Moving text files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Moving-text-files/m-p/364200#M86344</link>
      <description>&lt;P&gt;That is why I always call operating system commands using PIPE instead of using X or %SYSEXEC. When you call the command using an INFILE with PIPE engine you can read the response from the operating system. &amp;nbsp;If you had done that here you would have seem right away that the operating system did not understand the move command.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;1    data _null_;
2      infile "move x y" pipe ;
3      input;
4      put _infile_;
5    run;

NOTE: The infile "move x y" is:
      Pipe command="move x y"

/bin/ksh: move: not found
NOTE: 1 record was read from the infile "move x y".
      The minimum record length was 25.
      The maximum record length was 25.&lt;/PRE&gt;</description>
      <pubDate>Mon, 05 Jun 2017 04:00:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Moving-text-files/m-p/364200#M86344</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2017-06-05T04:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: Moving text files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Moving-text-files/m-p/364201#M86345</link>
      <description>&lt;P&gt;Hi Reeza,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sure...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;* flat file data path;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;%global&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; fpath;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;%let&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; fpath = /data/DEVELOPMENT/LANDING/IN_FILES;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;* archive file data path;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;%global&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; apath;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;%let&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; apath = /data/DEVELOPMENT/LANDING/ARCHIVED_IN;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;Moving Flat Files:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;This is working:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;x&lt;/FONT&gt; &lt;FONT color="#800080" face="Courier New" size="3"&gt;"mv /data/DEVELOPMENT/LANDING/IN_FILES/ET002A.D170605.EDLY.TXT /data/DEVELOPMENT/LANDING/ARCHIVED_IN"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;What i need is :&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;x&lt;/FONT&gt; &lt;FONT color="#800080" face="Courier New" size="3"&gt;"mv &amp;amp;fpath/ET002A.D&amp;amp;tdate..EDLY.TXT &amp;amp;apath"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2017 04:06:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Moving-text-files/m-p/364201#M86345</guid>
      <dc:creator>SAS_INFO</dc:creator>
      <dc:date>2017-06-05T04:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: Moving text files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Moving-text-files/m-p/364204#M86346</link>
      <description>&lt;P&gt;tdate is not defined anywhere.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32726"&gt;@SAS_INFO&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hi Reeza,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sure...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;* flat file data path;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;%global&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; fpath;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;%let&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; fpath = /data/DEVELOPMENT/LANDING/IN_FILES;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;* archive file data path;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;%global&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; apath;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;%let&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; apath = /data/DEVELOPMENT/LANDING/ARCHIVED_IN;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;Moving Flat Files:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;This is working:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;x&lt;/FONT&gt; &lt;FONT face="Courier New" size="3" color="#800080"&gt;"mv /data/DEVELOPMENT/LANDING/IN_FILES/ET002A.D170605.EDLY.TXT /data/DEVELOPMENT/LANDING/ARCHIVED_IN"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;What i need is :&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;x&lt;/FONT&gt; &lt;FONT face="Courier New" size="3" color="#800080"&gt;"mv &amp;amp;fpath/ET002A.D&lt;U&gt;&lt;STRONG&gt;&amp;amp;tdate.&lt;/STRONG&gt;&lt;/U&gt;.EDLY.TXT &amp;amp;apath"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2017 04:12:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Moving-text-files/m-p/364204#M86346</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-06-05T04:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: Moving text files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Moving-text-files/m-p/364206#M86347</link>
      <description>Hi Reeza,&lt;BR /&gt;&lt;BR /&gt;data _NULL_;&lt;BR /&gt;25 infile"move &amp;amp;fpath/ET002C.D170605.EDLY.TXT &amp;amp;apath" pipe;&lt;BR /&gt;26 input;&lt;BR /&gt;27 put _infile_;&lt;BR /&gt;28 run;&lt;BR /&gt;&lt;BR /&gt;NOTE: The infile "move /data/DEVELOPMENT/LANDING/IN_FILES/ET002C.D170605.EDLY.TXT /data/DEVELOPMENT/LANDING/ARCHIVED_IN" is:&lt;BR /&gt;Pipe command="move /data/DEVELOPMENT/LANDING/IN_FILES/ET002C.D170605.EDLY.TXT /data/DEVELOPMENT/LANDING/ARCHIVED_IN"&lt;BR /&gt;&lt;BR /&gt;/bin/bash: move: command not found&lt;BR /&gt;NOTE: 1 record was read from the infile "move /data/DEVELOPMENT/LANDING/IN_FILES/ET002C.D170605.EDLY.TXT&lt;BR /&gt;/data/DEVELOPMENT/LANDING/ARCHIVED_IN".&lt;BR /&gt;The minimum record length was 34.&lt;BR /&gt;The maximum record length was 34.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.01 seconds&lt;BR /&gt;cpu time 0.01 seconds&lt;BR /&gt;</description>
      <pubDate>Mon, 05 Jun 2017 04:14:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Moving-text-files/m-p/364206#M86347</guid>
      <dc:creator>SAS_INFO</dc:creator>
      <dc:date>2017-06-05T04:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: Moving text files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Moving-text-files/m-p/364207#M86348</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32726"&gt;@SAS_INFO&lt;/a&gt;&amp;nbsp;Once tdate was defined it worked correctly for me.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So define tdate. And post your code using the editor and take some time to format the question. We take the time to answer your questions but it's easier if you organize your process clearly from the beginning.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let tdate = %sysfunc(today(), yymmdd6.);
%put &amp;amp;tdate;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2017 04:18:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Moving-text-files/m-p/364207#M86348</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-06-05T04:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: Moving text files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Moving-text-files/m-p/364214#M86349</link>
      <description>Sure, Reeza&lt;BR /&gt;&lt;BR /&gt;Apologies</description>
      <pubDate>Mon, 05 Jun 2017 05:46:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Moving-text-files/m-p/364214#M86349</guid>
      <dc:creator>SAS_INFO</dc:creator>
      <dc:date>2017-06-05T05:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: Moving text files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Moving-text-files/m-p/760117#M240327</link>
      <description>&lt;P&gt;/*hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32726"&gt;@SAS_INFO&lt;/a&gt;&lt;BR /&gt;the macro variables are resolved within the _NUll_ data step, so try this */&lt;BR /&gt;* flat file data path;&lt;BR /&gt;%global fpath;&lt;BR /&gt;%let fpath = /data/DEVELOPMENT/LANDING/IN_FILES;&lt;/P&gt;&lt;P&gt;* archive file data path;&lt;BR /&gt;%global apath;&lt;BR /&gt;%let apath = /data/DEVELOPMENT/LANDING/ARCHIVED_IN;&lt;/P&gt;&lt;P&gt;%let tdate = %sysfunc(today(), yymmdd6.);&lt;BR /&gt;%put &amp;amp;tdate;&lt;/P&gt;&lt;P&gt;data _NULL_;&lt;BR /&gt;infile "move &amp;amp;fpath./ET002A.D&amp;amp;tdate..EDLY.TXT &amp;amp;apath." pipe;&lt;BR /&gt;input;&lt;BR /&gt;put _infile_;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Aug 2021 01:15:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Moving-text-files/m-p/760117#M240327</guid>
      <dc:creator>quiphan</dc:creator>
      <dc:date>2021-08-07T01:15:00Z</dc:date>
    </item>
  </channel>
</rss>

