<?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 Help Getting Date &amp; Time In SAS 9.1.3 Filename in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Need-Help-Getting-Date-Time-In-SAS-9-1-3-Filename/m-p/202507#M37785</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would add to the above very good solutions the question why.&amp;nbsp; Anyone using version control will not like you for putting "data" in the filename.&amp;nbsp; For two reasons, one it makes it slightly more difficult to get to, and secondly everytime the file is received, it is 'different' in terms of the version control system.&amp;nbsp; This looks to me like another harkening back to the old days where version control systems were not used, in much the same way that the use of XPT files is still around, even regulators are now moving away from supporting that file format.&amp;nbsp; Look into XML for a file transfer, or CSV at least.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Aug 2015 09:44:18 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2015-08-20T09:44:18Z</dc:date>
    <item>
      <title>Need Help Getting Date &amp; Time In SAS 9.1.3 Filename</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-Help-Getting-Date-Time-In-SAS-9-1-3-Filename/m-p/202504#M37782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not very knowledgeable about SAS so please forgive the beginner nature of this question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to create a SAS XPT file in SAS 9.1.3 the has the date and time at the end of the filename (e.g. "CR845_CLIN2001_LB_19AUG2015_11:44").&amp;nbsp; I have a script that includes the date but I have no idea how to add the time.&amp;nbsp; Here are the lines of code that I think need to be changed (these are not all in a block, they're just the lines that reference the filname)_:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;PRE&gt;&lt;/PRE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 16:07:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-Help-Getting-Date-Time-In-SAS-9-1-3-Filename/m-p/202504#M37782</guid>
      <dc:creator>JeffK627</dc:creator>
      <dc:date>2015-08-19T16:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help Getting Date &amp; Time In SAS 9.1.3 Filename</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-Help-Getting-Date-Time-In-SAS-9-1-3-Filename/m-p/202505#M37783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The time when the SAS process was started is provided by the automatic macro variable &amp;amp;systime: &lt;A href="http://support.sas.com/documentation/cdl/en/mcrolref/61885/HTML/default/viewer.htm#a000543691.htm" title="http://support.sas.com/documentation/cdl/en/mcrolref/61885/HTML/default/viewer.htm#a000543691.htm"&gt;SAS(R) 9.2 Macro Language: Reference&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 07:15:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-Help-Getting-Date-Time-In-SAS-9-1-3-Filename/m-p/202505#M37783</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2015-08-20T07:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help Getting Date &amp; Time In SAS 9.1.3 Filename</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-Help-Getting-Date-Time-In-SAS-9-1-3-Filename/m-p/202506#M37784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Comments/Questions&lt;/P&gt;&lt;P&gt;1) Don't use ddMONyyyy format for a date stamp in a filename. It will not sort properly. Use YYYYMMDD.&lt;/P&gt;&lt;P&gt;2) You cannot use colon (;) in a filename on a Windows drive since it is reserved for drive letter prefixes.&lt;/P&gt;&lt;P&gt;3) Do you want the date/time that SAS started (ie &amp;amp;SYSDATE9 and &amp;amp;SYSTIME) or the current time (datetime(), or date() and time() function calls)?&lt;/P&gt;&lt;P&gt;4) Do you want to include the date/time in both the XPORT filename and the member name?&lt;/P&gt;&lt;P&gt;5) Your first data step has no actual code.&lt;/P&gt;&lt;P&gt;6) You do not have any code to actually create the XPORT format version of the dataset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a version of your code that will use YYYYMMDD_HHMM formatted suffix on the member name and the XPORT filename.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;%let&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; dir=\\Acmshares2\clntrial\DataMgt\C1845\DataTransfer\&lt;/SPAN&gt;&lt;SPAN style="color: navy; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;Data&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;\Sent ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;%let&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; fileBaseName=CR845_CLIN2001_LB;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;%let&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; dt=&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;%sysfunc&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;(date(),yymmddn8);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;%let&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; dt=&amp;amp;dt._&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;%sysfunc&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;(compress(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;%sysfunc&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;(time(),time5),:));&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;libname&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; LABDATA &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;"&amp;amp;dir\SAS7BDAT"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;libname&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; LB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;"&amp;amp;dir\LB"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;libname&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; XPORTOUT &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;xport&lt;/SPAN&gt; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;"&amp;amp;dir\SAS\&amp;amp;fileBaseName._&amp;amp;dt..xpt"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: navy; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: teal; background: white;"&gt;LABDATA.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&amp;amp;fileBaseName._&amp;amp;dt (&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;COMPRESS&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;=YES);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp; &lt;SPAN style="color: teal; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;....&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: navy; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; LB.LB;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;set&lt;/SPAN&gt; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: teal; background: white;"&gt;LABDATA.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&amp;amp;fileBaseName._&amp;amp;dt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: navy; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: navy; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: navy; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;contents&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: teal; background: white;"&gt;LABDATA.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&amp;amp;fileBaseName._&amp;amp;dt &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;varnum&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: navy; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 08:02:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-Help-Getting-Date-Time-In-SAS-9-1-3-Filename/m-p/202506#M37784</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2015-08-20T08:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help Getting Date &amp; Time In SAS 9.1.3 Filename</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-Help-Getting-Date-Time-In-SAS-9-1-3-Filename/m-p/202507#M37785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would add to the above very good solutions the question why.&amp;nbsp; Anyone using version control will not like you for putting "data" in the filename.&amp;nbsp; For two reasons, one it makes it slightly more difficult to get to, and secondly everytime the file is received, it is 'different' in terms of the version control system.&amp;nbsp; This looks to me like another harkening back to the old days where version control systems were not used, in much the same way that the use of XPT files is still around, even regulators are now moving away from supporting that file format.&amp;nbsp; Look into XML for a file transfer, or CSV at least.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 09:44:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-Help-Getting-Date-Time-In-SAS-9-1-3-Filename/m-p/202507#M37785</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-08-20T09:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help Getting Date &amp; Time In SAS 9.1.3 Filename</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-Help-Getting-Date-Time-In-SAS-9-1-3-Filename/m-p/202508#M37786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why = because our clients control the format of the filenames according to their preference, and this client specified a filename in the format "CR845_CLIN2001_LB_DATE_TIME".&amp;nbsp; There is no version control on the transport files because a completely new one is created every time the process is run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sure your advice would be helpful to a developer who had some influence or choice in these matters. In this case, I don't.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 12:07:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-Help-Getting-Date-Time-In-SAS-9-1-3-Filename/m-p/202508#M37786</guid>
      <dc:creator>JeffK627</dc:creator>
      <dc:date>2015-08-20T12:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help Getting Date &amp; Time In SAS 9.1.3 Filename</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-Help-Getting-Date-Time-In-SAS-9-1-3-Filename/m-p/202509#M37787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The SAS 9.2 reference is of limited help to me here because we're using SAS 9.1.3, as mentioned in my OP.&amp;nbsp; I have no choice or control over this - whatever solution I use has to work in SAS 9.1.3 on Windows.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 12:08:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-Help-Getting-Date-Time-In-SAS-9-1-3-Filename/m-p/202509#M37787</guid>
      <dc:creator>JeffK627</dc:creator>
      <dc:date>2015-08-20T12:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help Getting Date &amp; Time In SAS 9.1.3 Filename</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-Help-Getting-Date-Time-In-SAS-9-1-3-Filename/m-p/202510#M37788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) Don't use ddMONyyyy format for a date stamp in a filename. It will not sort properly. Use YYYYMMDD.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Although I agree, the client specifies the date format, I have no leeway to change it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) You cannot use colon (;) in a filename on a Windows drive since it is reserved for drive letter prefixes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Makes sense and explains why formats with a colon were rejected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Do you want the date/time that SAS started (ie &amp;amp;SYSDATE9 and &amp;amp;SYSTIME) or the current time (datetime(), or date() and time() function calls)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; They want the time the file was created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) Do you want to include the date/time in both the XPORT filename and the member name?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I don't know what this means - as I said, I have very limited experience with SAS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5) Your first data step has no actual code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; These are just the lines in the template script I was given that make use of the date. I figured they all needed to be changed to include the time as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6) You do not have any code to actually create the XPORT format version of the dataset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; That code is in the template script that I was given.&amp;nbsp; The lines of code I provided are only the ones that use the date. I was told to modify them all to have the date and time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll give your code a try and see if I can get it working in the context of what got dropped in my lap. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 12:15:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-Help-Getting-Date-Time-In-SAS-9-1-3-Filename/m-p/202510#M37788</guid>
      <dc:creator>JeffK627</dc:creator>
      <dc:date>2015-08-20T12:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help Getting Date &amp; Time In SAS 9.1.3 Filename</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-Help-Getting-Date-Time-In-SAS-9-1-3-Filename/m-p/202511#M37789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just checked:&lt;/P&gt;&lt;P&gt;&amp;amp;systime is also present in SAS 9.1.3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: Copyright (c) 2002-2003 by SAS Institute Inc., Cary, NC, USA.&lt;/P&gt;&lt;P&gt;NOTE: SAS (r) 9.1 (TS1M3)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Licensed to xxxxxxxxxx AIX, Site xxxxxxxxxxx.&lt;/P&gt;&lt;P&gt;NOTE: This session is executing on the AIX 5.3 platform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: SAS 9.1.3 Service Pack 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are running SAS 9. Some SAS 8 files will be automatically converted&lt;/P&gt;&lt;P&gt;by the V9 engine; others are incompatible.&amp;nbsp; Please see&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://support.sas.com/rnd/migration/planning/platform/64bit.html"&gt;http://support.sas.com/rnd/migration/planning/platform/64bit.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROC MIGRATE will preserve current SAS file attributes and is&lt;/P&gt;&lt;P&gt;recommended for converting all your SAS libraries from any&lt;/P&gt;&lt;P&gt;SAS 8 release to SAS 9.&amp;nbsp; For details and examples, please see&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://support.sas.com/rnd/migration/index.html"&gt;http://support.sas.com/rnd/migration/index.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This message is contained in the SAS news file, and is presented upon&lt;/P&gt;&lt;P&gt;initialization.&amp;nbsp; Edit the file "news" in the "misc/base" directory to&lt;/P&gt;&lt;P&gt;display site-specific news and information in the program log.&lt;/P&gt;&lt;P&gt;The command line option "-nonews" will prevent this display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: SAS initialization used:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8.99 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.17 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: Unable to open SASUSER.REGSTRY. WORK.REGSTRY will be opened instead.&lt;/P&gt;&lt;P&gt;NOTE: All registry changes will be lost at the end of the session.&lt;/P&gt;&lt;P&gt;WARNING: Unable to copy SASUSER registry to WORK registry. Because of this,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; you will not see registry customizations during this session.&lt;/P&gt;&lt;P&gt;NOTE: Unable to open SASUSER.PROFILE. WORK.PROFILE will be opened instead.&lt;/P&gt;&lt;P&gt;NOTE: All profile changes will be lost at the end of the session.&lt;/P&gt;&lt;P&gt;NOTE: This SAS session is using a registry in WORK.&amp;nbsp; All changes will be&lt;/P&gt;&lt;P&gt;lost&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at the end of this session.&lt;/P&gt;&lt;P&gt;NOTE: This SAS session is using a registry in WORK.&amp;nbsp; All changes will be&lt;/P&gt;&lt;P&gt;lost&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at the end of this session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: AUTOEXEC processing beginning; file is $HOME/autoexec.sas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: AUTOEXEC processing completed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: This SAS session is using a registry in WORK.&amp;nbsp; All changes will be&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lost at the end of this session.&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp; %put &amp;amp;sysdate;&lt;/P&gt;&lt;P&gt;20AUG15&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp; %put &amp;amp;systime;&lt;/P&gt;&lt;P&gt;14:36&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 12:40:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-Help-Getting-Date-Time-In-SAS-9-1-3-Filename/m-p/202511#M37789</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2015-08-20T12:40:20Z</dc:date>
    </item>
  </channel>
</rss>

