<?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: Running commands in windows, space in directory and filename determined using macro variables in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Running-commands-in-windows-space-in-directory-and-filename/m-p/234572#M14665</link>
    <description>&lt;P&gt;I think I got &amp;nbsp;part of 3) &amp;nbsp;working based on Tim's post here:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/Base-SAS-Programming/resolving-macro-variable-inside-single-quotes/td-p/67294" target="_blank"&gt;https://communities.sas.com/t5/Base-SAS-Programming/resolving-macro-variable-inside-single-quotes/td-p/67294&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;%macro tesT(liste);&lt;BR /&gt;data test;&lt;BR /&gt; file_from= "c:\temp\space dir\template_ne_pas_modifier.xls";&lt;BR /&gt; file_to= "&lt;SPAN&gt;c:\temp\space dir\temp\&lt;/SPAN&gt;\liste&amp;amp;liste..xls";&lt;/P&gt;
&lt;P&gt;command = 'copy "' || file_from || '" "'|| file_to ||'"';&lt;BR /&gt; call system(command);&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;%mend;&lt;BR /&gt;%test(4707);&lt;/P&gt;</description>
    <pubDate>Fri, 13 Nov 2015 12:02:03 GMT</pubDate>
    <dc:creator>morglum</dc:creator>
    <dc:date>2015-11-13T12:02:03Z</dc:date>
    <item>
      <title>Running commands in windows, space in directory and filename determined using macro variables</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Running-commands-in-windows-space-in-directory-and-filename/m-p/234570#M14664</link>
      <description>&lt;P&gt;Hey all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is what I want to do:&lt;/P&gt;
&lt;P&gt;1) &amp;nbsp;calculate some values based on a subsample of my data defined by having the "list" variable of the data equal to the macro variable &amp;amp;list&lt;/P&gt;
&lt;P&gt;2) &amp;nbsp;open c:\temp\space dir\template.XLS &amp;nbsp;, sheet "template" &amp;nbsp;and write the values to a few named ranges&lt;/P&gt;
&lt;P&gt;3) save the template to a temporary file and sheet, say &amp;nbsp;c:\temp\space dir\temp\list_&amp;amp;list.xls &amp;nbsp; &amp;nbsp;, sheet "list_&amp;amp;list"&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="line-height: 20px;"&gt;4) loop &amp;nbsp;for &amp;amp;list in (4400 4900 4512)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="line-height: 20px;"&gt;5) &amp;nbsp;combine the three created sheets in a final file named c:\temp\space dir\output.xls&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="line-height: 20px;"&gt;1 is easy, 2 is done with LIBNAME EXCEL.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="line-height: 20px;"&gt;&amp;nbsp;I have managed to do 5) by calling a VBS script (code below) with the following sas code (notice the single quote followed by a double quote)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="line-height: 20px;"&gt;data _null_;&lt;BR /&gt; command = '"c:\temp\space dir\script_copy_worksheets_to_workbook.vbs"';&lt;BR /&gt; call system(command);&lt;BR /&gt;run;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="line-height: 20px;"&gt;I just can't seem to do 3) because it involves passing a macro variable value between single quotes. &amp;nbsp;For example, I wish the macro variables resolves in the following code. &amp;nbsp; I could then (maybe, i'm a noob) &amp;nbsp;figure out a VBS script that would rename the sheet to the same name as the file name.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;%let file_from= "c:\temp\space dir\templace.xls";&lt;BR /&gt;%let file_to= "c:\temp\space dir\temp\list &amp;amp;list";&lt;/P&gt;
&lt;P&gt;data _null_;&lt;BR /&gt; command = '"copy &amp;amp;file_from. &amp;amp;file_to."';&lt;BR /&gt; call system(command);&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have spent way too much time on this, any help would be greatly appreciated.&lt;/P&gt;
&lt;P&gt;cheers&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;
&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;&lt;SPAN style="line-height: 20px;"&gt;***************************************************************&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="line-height: 20px;"&gt;&lt;SPAN&gt;script_copy_worksheets_to_workbook.vbs&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="line-height: 20px;"&gt;&lt;SPAN&gt;***************************************************************&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;'~~&amp;gt; Change Paths as applicable&lt;BR /&gt;Dim objExcel, objWorkbook, wbSrc&lt;BR /&gt;Dim strFileName, strDirectory, extension, Filename&lt;BR /&gt;Dim objFSO, objFolder, objFile&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;strFileName = Wscript.Arguments.Item(1)&lt;/P&gt;
&lt;P&gt;Set objExcel = CreateObject("Excel.Application")&lt;BR /&gt;objExcel.DisplayAlerts = False&lt;BR /&gt;objExcel.Visible = True&lt;/P&gt;
&lt;P&gt;Set objWorkbook = objExcel.Workbooks.Add()&lt;/P&gt;
&lt;P&gt;extension = "xls"&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;strDirectory = Wscript.Arguments.Item(0) &lt;BR /&gt;Set objFSO = CreateObject("Scripting.FileSystemObject")&lt;BR /&gt;Set objFolder = objFSO.GetFolder(strDirectory)&lt;BR /&gt; For Each objFile In objFolder.Files&lt;BR /&gt; If LCase((objFSO.GetExtensionName(objFile))) = LCase(extension) Then&lt;BR /&gt; Filename = objFile.Name&lt;BR /&gt; Filename = strDirectory &amp;amp; "\" &amp;amp; Filename&lt;BR /&gt; Set wbsrc=objExcel.Workbooks.Open(Filename)&lt;BR /&gt; wbSrc.Sheets(1).Name = left(objFSO.GetFileName(objFile), Len(objFSO.GetFileName(objFile))-4) &lt;BR /&gt; wbSrc.Sheets(1).Copy objWorkbook.Sheets(objWorkbook.Sheets.Count)&lt;BR /&gt; wbSrc.Close&lt;BR /&gt; End If&lt;BR /&gt;Next&lt;BR /&gt;objWorkbook.Sheets("Feuil1").delete&lt;BR /&gt;objWorkbook.Sheets("Feuil2").delete&lt;BR /&gt;objWorkbook.Sheets("Feuil3").delete&lt;BR /&gt;'~~&amp;gt; Close and Cleanup&lt;/P&gt;
&lt;P&gt;objWorkbook.SaveAs (strFileName)&lt;/P&gt;
&lt;P&gt;objWorkbook.Close&lt;BR /&gt;objExcel.Quit&lt;/P&gt;
&lt;P&gt;Set wbsrc=Nothing&lt;BR /&gt;Set objWorkbook = Nothing&lt;BR /&gt;Set objExcel = Nothing&lt;/P&gt;</description>
      <pubDate>Fri, 13 Nov 2015 15:08:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Running-commands-in-windows-space-in-directory-and-filename/m-p/234570#M14664</guid>
      <dc:creator>morglum</dc:creator>
      <dc:date>2015-11-13T15:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: Running commands in windows, space in directory and filename determined using macro variables</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Running-commands-in-windows-space-in-directory-and-filename/m-p/234572#M14665</link>
      <description>&lt;P&gt;I think I got &amp;nbsp;part of 3) &amp;nbsp;working based on Tim's post here:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/Base-SAS-Programming/resolving-macro-variable-inside-single-quotes/td-p/67294" target="_blank"&gt;https://communities.sas.com/t5/Base-SAS-Programming/resolving-macro-variable-inside-single-quotes/td-p/67294&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;%macro tesT(liste);&lt;BR /&gt;data test;&lt;BR /&gt; file_from= "c:\temp\space dir\template_ne_pas_modifier.xls";&lt;BR /&gt; file_to= "&lt;SPAN&gt;c:\temp\space dir\temp\&lt;/SPAN&gt;\liste&amp;amp;liste..xls";&lt;/P&gt;
&lt;P&gt;command = 'copy "' || file_from || '" "'|| file_to ||'"';&lt;BR /&gt; call system(command);&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;%mend;&lt;BR /&gt;%test(4707);&lt;/P&gt;</description>
      <pubDate>Fri, 13 Nov 2015 12:02:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Running-commands-in-windows-space-in-directory-and-filename/m-p/234572#M14665</guid>
      <dc:creator>morglum</dc:creator>
      <dc:date>2015-11-13T12:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: Running commands in windows, space in directory and filename determined using macro variables</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Running-commands-in-windows-space-in-directory-and-filename/m-p/234587#M14668</link>
      <description>&lt;P&gt;Erm, why? &amp;nbsp;Sounds like your drastically over complicating things. &amp;nbsp;Why not just use tagsets.excelxp to write a file out with 3 sheets? &amp;nbsp;If for some reason you have a template Excel file which needs to be updated, exprt your results to CSV from SAS. &amp;nbsp;Then in your template file create a small bit of VBA to open that CSV and update the template based on the values in the CSV.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Nov 2015 13:06:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Running-commands-in-windows-space-in-directory-and-filename/m-p/234587#M14668</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-11-13T13:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: Running commands in windows, space in directory and filename determined using macro variables</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Running-commands-in-windows-space-in-directory-and-filename/m-p/234597#M14669</link>
      <description>&lt;P&gt;thanks for replying!&lt;/P&gt;
&lt;P&gt;It sure does feel complicated, but I cant seem to find a simpler way - I do need to use the template&amp;nbsp;, so no excelxp. &amp;nbsp;I'm not sure how your workflow would be simpler, though.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="line-height: 20px;"&gt;So your workflow would be as follow:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-Create 15 CSV files from SAS&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="line-height: 20px;"&gt;-Open the template file 15 times, import the CSV each time. and&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="line-height: 20px;"&gt;save the template into a &amp;nbsp;new &amp;nbsp;workbook&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="line-height: 20px;"&gt;-again, merge the 15 worksbooks into one.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="line-height: 20px;"&gt;this having to be done repeatedly a couple times a week.&lt;/SPAN&gt;&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>Fri, 13 Nov 2015 13:21:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Running-commands-in-windows-space-in-directory-and-filename/m-p/234597#M14669</guid>
      <dc:creator>morglum</dc:creator>
      <dc:date>2015-11-13T13:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: Running commands in windows, space in directory and filename determined using macro variables</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Running-commands-in-windows-space-in-directory-and-filename/m-p/234614#M14671</link>
      <description>&lt;P&gt;Well, firstly, it sounds like you have a mess of process there. &amp;nbsp;I would try to push back on what needs to be done, maybe the recipient can use what outputs straight from SAS. &amp;nbsp;There are techniques to help, i.e. mention high costs to maintain, pushed back timelines, its amazing how quickly minds change. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you really can't, then what I suggested wouldn't involve opening the template 15 times. &amp;nbsp;You would export the data, decide on some filenames, why can the data from SAS not be in one file for instance? &amp;nbsp;Its hard to say without seeing what you have. &amp;nbsp;But I will assume that there will be 3 files, called file1.csv, file2.csv, file3.csv. &amp;nbsp;In the template file, I create a small VBA macro program. &amp;nbsp;This will be a loop of 1-3. &amp;nbsp;In the loop I open the fileX.csv where X is the loop incrementor. &amp;nbsp;Once the file is open then I can take that data and paste it where I like in the template file. &amp;nbsp;Then close the CSV, and do the loop again. &amp;nbsp;Once the loop finishes then save the tempalte file somewhere. &amp;nbsp;So instead of trying to push data out from SAS, suck it into Excel.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Of course, your whole problem is the process in the start, this whole business of trying to integrate a tool - Excel - which was never meant for these things, into a pipeline generally speaking decided upon by people not knowing a) what they want really, b) how things work. &amp;nbsp;I always push back, as soon as Excel is mentioned.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Nov 2015 14:06:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Running-commands-in-windows-space-in-directory-and-filename/m-p/234614#M14671</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-11-13T14:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: Running commands in windows, space in directory and filename determined using macro variables</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Running-commands-in-windows-space-in-directory-and-filename/m-p/234627#M14672</link>
      <description>&lt;P&gt;I see what you mean. &amp;nbsp;The thing is that everything has to be as marketing-proof as possible and if everything can be generated by a batch job in SAS then I'm happy.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="line-height: 20px;"&gt;I did something similar to what you say, I just skipped the CSV part and implemented the vba loop in&amp;nbsp;&amp;nbsp;VBS script called from SAS.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's what I do :&lt;/P&gt;
&lt;P&gt;Generate a lot of one-sheet excel files and put them in a folder&lt;/P&gt;
&lt;P&gt;a) some (those using templates) are generated using LIBNAME &amp;nbsp;excel &amp;nbsp; &amp;nbsp;and are then copied under their own name using&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data test;&lt;BR /&gt; file_from= "filepath";&lt;BR /&gt; file_to= "filepath";&lt;BR /&gt; command = 'copy "' || file_from || '" "'|| file_to ||'"';&lt;BR /&gt; call system(command);&lt;/P&gt;
&lt;P&gt;b)some (those using sgplots and other graphs) are generating using LIBNAME msoffice2k&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;when that is done, I call an updated version of my vbs script that gathers all these excel files into one file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;that's it.data _null_;&lt;BR /&gt; source_folder="sourcefolder";&lt;BR /&gt; destination="destinationcfile";&lt;BR /&gt; command = '"path\script_copy_worksheets_to_workbook.vbs" "' || source_folder || '" "' || destination || '"' ;&lt;BR /&gt; call system(command);&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Nov 2015 15:08:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Running-commands-in-windows-space-in-directory-and-filename/m-p/234627#M14672</guid>
      <dc:creator>morglum</dc:creator>
      <dc:date>2015-11-13T15:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: Running commands in windows, space in directory and filename determined using macro variables</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Running-commands-in-windows-space-in-directory-and-filename/m-p/238358#M14843</link>
      <description>Hi RW9,&lt;BR /&gt;Thanks again for the long replies.  I just came back from vacations and I still can't get this  topic out of my head.  &lt;BR /&gt;&lt;BR /&gt;The only reason that I am using Excel is because I can make a "good looking" report in it.  &lt;BR /&gt;&lt;BR /&gt;You would rather not use Excel.  What do you normally use?  I'm giving Proc Report a hard look, but would like to hear about other possibilities.</description>
      <pubDate>Tue, 08 Dec 2015 18:37:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Running-commands-in-windows-space-in-directory-and-filename/m-p/238358#M14843</guid>
      <dc:creator>morglum</dc:creator>
      <dc:date>2015-12-08T18:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: Running commands in windows, space in directory and filename determined using macro variables</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Running-commands-in-windows-space-in-directory-and-filename/m-p/238475#M14855</link>
      <description>&lt;P&gt;Personally I would do all outputs as RTF or PDF. &amp;nbsp;The simple reason is separation. &amp;nbsp;What the eye wants is not what the computer wants. &amp;nbsp;This is where there is a lot of problems. &amp;nbsp;Peolpe think that Excel files are simple to move into a structured environment, they are not, for many reasons. &amp;nbsp;However people do seem to understand that Word files and PDF's can't be imported, strange but that is what i have found. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Proc report can output to any number of destinations, and that is defined by:&lt;/P&gt;
&lt;P&gt;- the structure of your data&lt;/P&gt;
&lt;P&gt;- the template used&lt;/P&gt;
&lt;P&gt;- to some extent the destination&lt;/P&gt;
&lt;P&gt;- the code you use in the proc report&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, 09 Dec 2015 09:11:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Running-commands-in-windows-space-in-directory-and-filename/m-p/238475#M14855</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-12-09T09:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: Running commands in windows, space in directory and filename determined using macro variables</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Running-commands-in-windows-space-in-directory-and-filename/m-p/238481#M14856</link>
      <description>&lt;P&gt;Proc Report and ODS PDF do seem to be the way to go. &amp;nbsp;It's just that Proc report's output is so ugly and creating a nice template in Excel, filling it and converting it to PDF is just so easy.... &amp;nbsp;Eye-candy is important since this report is sent to 1500 persons.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is a mock-up of what I am trying to achieve. &amp;nbsp;There are 50 teams and large teams could span up to 3 or 4 pages.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'll keep on reading. cheers&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/12125i328F9E3108C5094D/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="fake report (1).png" title="fake report (1).png" /&gt;</description>
      <pubDate>Wed, 09 Dec 2015 10:42:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Running-commands-in-windows-space-in-directory-and-filename/m-p/238481#M14856</guid>
      <dc:creator>morglum</dc:creator>
      <dc:date>2015-12-09T10:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: Running commands in windows, space in directory and filename determined using macro variables</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Running-commands-in-windows-space-in-directory-and-filename/m-p/238482#M14857</link>
      <description>&lt;P&gt;Nothing there looks particularly difficult to achieve in PDF destination. &amp;nbsp;Generally speaking though I find most of my outputs goto RTF destination (text markup language which Word can interpret), and then to PDF from them, but that's mainly a reporting requirement - although its worth noting that with RTF you can send out RTF markedup language as part of the report to alter things in the report. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www2.sas.com/proceedings/forum2007/151-2007.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/forum2007/151-2007.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Have a look at the above link, shows some of what can be done. &amp;nbsp;Useful for adding underlines, subgroups and special elements. &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2015 10:48:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Running-commands-in-windows-space-in-directory-and-filename/m-p/238482#M14857</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-12-09T10:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: Running commands in windows, space in directory and filename determined using macro variables</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Running-commands-in-windows-space-in-directory-and-filename/m-p/238483#M14858</link>
      <description>&lt;P&gt;I hadnt seen the above link -looks promising, thanks!&lt;/P&gt;
&lt;P&gt;How do you convert from RTF to PDF? &amp;nbsp;I've been using VBscript fo convert from XLS to PDF.&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2015 10:53:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Running-commands-in-windows-space-in-directory-and-filename/m-p/238483#M14858</guid>
      <dc:creator>morglum</dc:creator>
      <dc:date>2015-12-09T10:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: Running commands in windows, space in directory and filename determined using macro variables</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Running-commands-in-windows-space-in-directory-and-filename/m-p/238485#M14859</link>
      <description>&lt;P&gt;You can automate it with VBscript as before, basically open Word, open the file, print to pdf. &amp;nbsp;The way I do it however is (presuming you have full adobe on your machine), highlight all the files you want to combine into PDF and right click and Choose "Cobine files in acrobat". &amp;nbsp;This will open a dialog where you can move things up and down in the order, and apply bookmarks. &amp;nbsp;Pretty straightforward.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2015 11:08:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Running-commands-in-windows-space-in-directory-and-filename/m-p/238485#M14859</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-12-09T11:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: Running commands in windows, space in directory and filename determined using macro variables</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Running-commands-in-windows-space-in-directory-and-filename/m-p/238498#M14860</link>
      <description>&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;No acrobat license handy, will stick with VBScript. &amp;nbsp;Do you recommend using ODS Layout, or just plain proc report?&lt;/P&gt;
&lt;P&gt;cheers&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2015 13:32:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Running-commands-in-windows-space-in-directory-and-filename/m-p/238498#M14860</guid>
      <dc:creator>morglum</dc:creator>
      <dc:date>2015-12-09T13:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: Running commands in windows, space in directory and filename determined using macro variables</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Running-commands-in-windows-space-in-directory-and-filename/m-p/238500#M14861</link>
      <description>&lt;P&gt;Never used ods layout myself, but if you need grided output then thats the way to go, my outputs tend to be one table per page/file.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2015 13:47:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Running-commands-in-windows-space-in-directory-and-filename/m-p/238500#M14861</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-12-09T13:47:27Z</dc:date>
    </item>
  </channel>
</rss>

