<?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: SAS - Automation - Script needs to automatically switch to a date (named) specific folder in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-Automation-Script-needs-to-automatically-switch-to-a-date/m-p/251898#M47685</link>
    <description>&lt;P&gt;Looking at your log&amp;nbsp;again, it looks like your mixing macro and data step code, so that may be why you're seeing issues.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;As I initially asked, can you post the code rather than the log.&lt;/P&gt;</description>
    <pubDate>Tue, 23 Feb 2016 23:05:11 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2016-02-23T23:05:11Z</dc:date>
    <item>
      <title>SAS - Automation - Script needs to automatically switch to a date (named) specific folder</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Automation-Script-needs-to-automatically-switch-to-a-date/m-p/251889#M47679</link>
      <description>&lt;P&gt;I have a script that has to switch to a different date based folder to pull the data each day... For example, today's (on 2/23/2016) the script needs to pull the file it needs to use is&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;C:\Prod\2016\GZ\02.23.16\data02_23_031500.tsv'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you can see both the folder and filename are date specfic... I would like to have one script that can be scheduled to run every day (at 3 am - but goes to a different folder&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used the following to get data fields I need ..&lt;/P&gt;&lt;PRE&gt;52         
53         yy=DATE ();
54         format yy MMDDYYP2.;
55         %let yy=%sysfunc(today(),MMDDYYP2.);
56         %put yy = &amp;amp;yy.;
yy = 02        
58         yy2=DATE ();
59         format yy2 DDMMYYP2.;
60         %let yy2=%sysfunc(today(),DDMMYYP2.);
61         %put yy2 = &amp;amp;yy2.;
yy2 = 23
79         xc=DATE ();
80         format xc MMDDYYP.;
81         %let xc=%sysfunc(today(),MMDDYYP.);
82         %put xc = &amp;amp;xc.;
xc = 02.23.16&lt;/PRE&gt;&lt;P&gt;However, when I attempt to use those variable for the values - I dies..&amp;nbsp; See below&lt;/P&gt;&lt;PRE&gt;118        filet =  "C:\Prod Ack Gen Time Data\2016\GZ\"
119        || xc
120        || "\"
121        || "data"
122        || yy
123        || "_"
124        || yy2
125        || "_"
126        || "031500"		
127        || ".tsv"
128        ;
129        
130        filet = compress(filet) ;
132        call symput('filepath', filet) ;
133        %put filepath = &amp;amp;filepath ;
filepath = C:\Prod\2016\GZ\20507.20507.20507.\data20507_20507_031500.tsv&lt;/PRE&gt;&lt;P&gt;The 20507 is the core value for 2/23/2016, it's just not pulling the values i need.. I know I'm close - but Im missing something..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Help&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2016 22:37:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Automation-Script-needs-to-automatically-switch-to-a-date/m-p/251889#M47679</guid>
      <dc:creator>hondahawkrider</dc:creator>
      <dc:date>2016-02-23T22:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: SAS - Automation - Script needs to automatically switch to a date (named) specific folder</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Automation-Script-needs-to-automatically-switch-to-a-date/m-p/251894#M47682</link>
      <description>&lt;P&gt;Please post your actual code, rather than log, it's hard to read.&lt;/P&gt;
&lt;P&gt;Also, you first part of path gets cut out (PROD vs PROD Ack Gen), how is that happening?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2016 22:51:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Automation-Script-needs-to-automatically-switch-to-a-date/m-p/251894#M47682</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-02-23T22:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: SAS - Automation - Script needs to automatically switch to a date (named) specific folder</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Automation-Script-needs-to-automatically-switch-to-a-date/m-p/251895#M47683</link>
      <description>that was my issue... I shortened the initial directory from Prod Ack Gen to just PROD so as to not have spaces in my directory</description>
      <pubDate>Tue, 23 Feb 2016 23:00:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Automation-Script-needs-to-automatically-switch-to-a-date/m-p/251895#M47683</guid>
      <dc:creator>hondahawkrider</dc:creator>
      <dc:date>2016-02-23T23:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: SAS - Automation - Script needs to automatically switch to a date (named) specific folder</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Automation-Script-needs-to-automatically-switch-to-a-date/m-p/251898#M47685</link>
      <description>&lt;P&gt;Looking at your log&amp;nbsp;again, it looks like your mixing macro and data step code, so that may be why you're seeing issues.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;As I initially asked, can you post the code rather than the log.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2016 23:05:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Automation-Script-needs-to-automatically-switch-to-a-date/m-p/251898#M47685</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-02-23T23:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: SAS - Automation - Script needs to automatically switch to a date (named) specific folder</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Automation-Script-needs-to-automatically-switch-to-a-date/m-p/251899#M47686</link>
      <description>Im about 99% certain I am mixing macro and data step... I can't post the code as it uses live data.. Im in the process of trying to clean it up (not currently generic)..</description>
      <pubDate>Tue, 23 Feb 2016 23:06:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Automation-Script-needs-to-automatically-switch-to-a-date/m-p/251899#M47686</guid>
      <dc:creator>hondahawkrider</dc:creator>
      <dc:date>2016-02-23T23:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: SAS - Automation - Script needs to automatically switch to a date (named) specific folder</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Automation-Script-needs-to-automatically-switch-to-a-date/m-p/251923#M47690</link>
      <description>&lt;P&gt;Here is the sanitized first part..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please keep in mind I inherited this ....&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You have to run the script twice or certain variables give you the&lt;/P&gt;&lt;P&gt;WARNING: Apparent symbolic reference&amp;nbsp;N not resolved....&amp;nbsp;&lt;/P&gt;&lt;P&gt;So Im positive that Data/Macro processing is mixed... I am trying to pull it apart&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The parameters i need to change everyday are just&lt;/P&gt;&lt;P&gt;begdt = '22FEB16 00:00:00.0'dt&lt;/P&gt;&lt;P&gt;enddt = '23FEB16 03:00:00.0'dt&lt;/P&gt;&lt;P&gt;(where it's the 22Feb16 (yesterday) and 23Feb16 (today) change based upon what day the script is run)&lt;/P&gt;&lt;P&gt;&amp;amp;&lt;/P&gt;&lt;P&gt;filename filein (&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 'C:\PROD\2016\GZ\02.23.16\data02_23_031500.tsv'&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;(where it's the 02.23.16, and the 02_23 changes to the current day the script is run)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's those 3 lines that are currently changed everyday for the (rest of) the script to run manually. Im trying to finish anothers work to make it in SAS so that one script can automatically be run each day without having to make changes...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It doesn't matter how I get there..&amp;nbsp; But this is what I have so far ... (yes, there are some duplicate values, I have been trying to figure it all out - but no such&amp;nbsp;luck)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options obs=10000000;
*%include "C:\PROD\Automate\AutoConfig.sas" ;

data _null_ ;

*x = today() ;
x=TODAY ();
format x date.;
%let x=%sysfunc(today(),date.);
%put x = &amp;amp;x.;
call symput('rundate','x') ;
run;
%put rundate  = &amp;amp;rundate ;


data _null_ ;
x=TODAY ();
format x date.;
%let x=%sysfunc(today(),date.);
%put x = &amp;amp;x.;
call symput('rundate','x') ;
%put rundate  = &amp;amp;rundate ;

*set Yesterday's Date;
y=x-1;
format y date.;
%let y = %sysfunc(cats(%sysfunc(intnx(day,%sysfunc(Date()), -1), date.)));
%put y = &amp;amp;y.;

yy=DATE ();
format yy MMDDYYP2.;
%let yy=%sysfunc(today(),MMDDYYP2.);
%put yy = &amp;amp;yy.;

yy2=DATE ();
format yy2 DDMMYYP2.;
%let yy2=%sysfunc(today(),DDMMYYP2.);
%put yy2 = &amp;amp;yy2.;

yy3=DATE ();
format yy3 YYMMDD2.;
%let yy3=%sysfunc(today(),YYMMDD2.);
%put yy3 = &amp;amp;yy3.;

xx=DATE ();
format xx YEAR.;
%let xx=%sysfunc(today(),YEAR.);
%put xx = &amp;amp;xx.;

xa="'" || " 00:00:00.0'dt" ;
ya="'" || " 03:00:00.0'dt" ;

xb=" 00:00:00.0'dt" ;
yb=" 03:00:00.0'dt" ;

xc=DATE ();
format xc MMDDYYP.;
%let xc=%sysfunc(today(),MMDDYYP.);
%put xc = &amp;amp;xc.;

/*
DD=put(&amp;amp;xc,MMDDYYP);
call symput('dotted',DD) ;
*/

yc=xc-1;
format yc MMDDYYP.;
%let yc = %sysfunc(cats(%sysfunc(intnx(day,%sysfunc(Date()), -1), MMDDYYP.)));
%put yc = &amp;amp;yc.;

x1= "'" || put(&amp;amp;rundate-1,date.) || " 00:00:00.0'dt" ;
call symput('begdt',x1) ;

y1= "'" || put(&amp;amp;rundate,date.) || " 03:00:00.0'dt" ;
call symput('enddt',y1) ;

tmon = left(trim(month(&amp;amp;rundate))) ;
if length (tmon) = 1 then 
tmon = '0' || tmon ;
call symput('tmon2', tmon) ;
%put tmon2 = &amp;amp;tmon2 ;

tday = left(trim(day(&amp;amp;rundate))) ;
if length (tday) = 1 then 
tday = '0' || tday ;
call symput('tday2', tday) ;
%put tday2 = &amp;amp;tday2 ;

tyear = strip(year(&amp;amp;rundate)) ;
call symput('tyear4', tyear) ;
%put tyear4 = &amp;amp;tyear4 ;

tyear2 = substr(compress(tyear),3) ;
call symput('tyear2d', tyear2) ;
%put tyear2d = &amp;amp;tyear2d ;

dirt = "&amp;amp;localdir" ;

filet =  "C:\PROD\2016\GZ\" 
|| xc
|| "\"
|| "data"
|| yy
|| "_"
|| yy2
|| "_" 
|| "031500"		
|| ".tsv" 
;

filet = compress(filet) ;

call symput('filepath', filet) ;
%put filepath = &amp;amp;filepath ;
%let localdir=C:\PROD\Automate;
%let netdrive=C:\PROD\Automate;
%put localdir = &amp;amp;localdir ;
%put netdrive = &amp;amp;localdir ;
%put begdt = &amp;amp;begdt ;
%put enddt = &amp;amp;enddt ;

/*
%let begdt = '18Feb16 00:00:00.0'dt ;
%let enddt = '19Feb16 03:00:00.0'dt ;
*/
%let sync_int = 600;
%let ginterval='01:00:00.0't ; 


filename filein (
   'C:\PROD\2016\GZ\02.23.16\data02_23_031500.tsv'  
 );

/*
filename filein (
   &amp;amp;filet   
 );
*/
 run ;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2016 00:11:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Automation-Script-needs-to-automatically-switch-to-a-date/m-p/251923#M47690</guid>
      <dc:creator>hondahawkrider</dc:creator>
      <dc:date>2016-02-24T00:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: SAS - Automation - Script needs to automatically switch to a date (named) specific folder</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Automation-Script-needs-to-automatically-switch-to-a-date/m-p/251949#M47701</link>
      <description>&lt;P&gt;Honestly...I don't want to touch that. It may be better to start from scratch, if thats an option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Post what you have and what you need&lt;/P&gt;
&lt;P&gt;Need -&amp;gt; Generate file path that looks like X&lt;/P&gt;
&lt;P&gt;Have -&amp;gt; Macro variable with path portion&lt;/P&gt;
&lt;P&gt;Rules -&amp;gt; Date, datetime and need to create directory or directory already exists.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2016 03:13:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Automation-Script-needs-to-automatically-switch-to-a-date/m-p/251949#M47701</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-02-24T03:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: SAS - Automation - Script needs to automatically switch to a date (named) specific folder</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Automation-Script-needs-to-automatically-switch-to-a-date/m-p/251964#M47705</link>
      <description>&lt;P&gt;hmm.. thats what I thought I did..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what I have put is things I have tried to use to get the variables ... Pretty much everything in the script that I put can disappear or be deleted if need be..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically when I run it manually I have the following code to change&lt;/P&gt;&lt;PRE&gt;%let begdt = '22Feb16 00:00:00.0'dt ;

%let enddt = '23Feb16 03:00:00.0'dt ;

%let sync_int = 600;

%let ginterval='01:00:00.0't ;

filename filein (

'C:\PROD\2016\GZ\02.23.16\data02_23_031500.tsv'

 );&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So for today - ie the 24th - I have to make the following&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;%let begdt = '23Feb16 00:00:00.0'dt ;

%let enddt = '24Feb16 03:00:00.0'dt ;

%let sync_int = 600;

%let ginterval='01:00:00.0't ;

filename filein (

'C:\PROD\2016\GZ\02.24.16\data02_24_031500.tsv'

 );&lt;/PRE&gt;&lt;P&gt;In the first line&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I change 22Feb16 to 23Feb16... It needs to be the previous day's date&lt;/P&gt;&lt;P&gt;In the 2nd line&lt;/P&gt;&lt;P&gt;I change 23Fed16 to 24Feb14 - it needs to be today's date&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and in the file name&lt;/P&gt;&lt;P&gt;I have to change the Folder name freom 02.23.16 to 02.24.16 and the file name from data02_23_ to data02_24_&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically it's a script that I run daily (manually). I am trying to use SAS to detect what day it is when it runs, and have it change those date fields - so I can set it to run on my SAS server each day without having to change any code... I was trying to use what was avabilable to me - but as you can see I am struggling with it...&amp;nbsp; Ive been handed the script and am stuck..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated....&amp;nbsp; I tried the best I could to see if I could figure it out - but haven't figured it out yet&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2016 06:26:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Automation-Script-needs-to-automatically-switch-to-a-date/m-p/251964#M47705</guid>
      <dc:creator>hondahawkrider</dc:creator>
      <dc:date>2016-02-24T06:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: SAS - Automation - Script needs to automatically switch to a date (named) specific folder</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Automation-Script-needs-to-automatically-switch-to-a-date/m-p/251972#M47708</link>
      <description>&lt;P&gt;First, you've got a problem by mi(a)ngling data step code and macro code.&lt;/P&gt;
&lt;P&gt;Second, you've got a problem because of missing formatting of date values.&lt;CODE class=" language-sas"&gt; &lt;/CODE&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
xx = date();
yy = dhms(intnx('day',xx,-1),0,0,0);
zz = dhms(xx,3,0,0);
length
  this_day this_month this_year $2
  this_year4 $4
  myfilename $100
;
this_day = put(day(xx),z2.);
this_month = put(month(xx),z2.);
this_year4 = put(year(xx),z4.);
this_year = substr(this_year4,3);
myfilename = 'C:\Prod\' !! this_year4 !!'\GZ\' !! put(xx,mmddyyp8.) !! '\data' !! this_month !! '_' !! this_day !! '_031500.tsv';
call symput('filepath',strip(myfilename));
call symput('begdt',"'"!!put(yy,datetime18.1)!!"'dt");
call symput('enddt',"'"!!put(zz,datetime18.1)!!"'dt");
run;

%put filepath=&amp;amp;filepath;
%put begdt=&amp;amp;begdt;
%put enddt=&amp;amp;enddt;&lt;BR /&gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Edited to include begin and end datetime values.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2016 07:12:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Automation-Script-needs-to-automatically-switch-to-a-date/m-p/251972#M47708</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-02-24T07:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: SAS - Automation - Script needs to automatically switch to a date (named) specific folder</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Automation-Script-needs-to-automatically-switch-to-a-date/m-p/251977#M47710</link>
      <description>&lt;P&gt;This totally rocks ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It does the filename path stuff fantastically...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The&amp;nbsp; only thing I have to do is incorporate how to also change&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%let begdt = '23Feb16 00:00:00.0'dt ;&lt;BR /&gt;&lt;BR /&gt;%let enddt = '24Feb16 03:00:00.0'dt ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so I get&amp;nbsp;yesteday's and todays date in that format..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You given me a lot of food for thought.. Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2016 07:21:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Automation-Script-needs-to-automatically-switch-to-a-date/m-p/251977#M47710</guid>
      <dc:creator>hondahawkrider</dc:creator>
      <dc:date>2016-02-24T07:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: SAS - Automation - Script needs to automatically switch to a date (named) specific folder</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Automation-Script-needs-to-automatically-switch-to-a-date/m-p/251979#M47711</link>
      <description>&lt;P&gt;Edited my post to also create the timestamps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My example is how you use the data step capabilities to create values in an easy-to-read way, and then hand them over to the macro facility.&lt;/P&gt;
&lt;P&gt;You could do most of that with pure macro code, but that tends to become very hard to read and maintain.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2016 07:27:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Automation-Script-needs-to-automatically-switch-to-a-date/m-p/251979#M47711</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-02-24T07:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: SAS - Automation - Script needs to automatically switch to a date (named) specific folder</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Automation-Script-needs-to-automatically-switch-to-a-date/m-p/251980#M47712</link>
      <description>&lt;P&gt;That works Great!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2016 07:30:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Automation-Script-needs-to-automatically-switch-to-a-date/m-p/251980#M47712</guid>
      <dc:creator>hondahawkrider</dc:creator>
      <dc:date>2016-02-24T07:30:24Z</dc:date>
    </item>
  </channel>
</rss>

