<?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: Scheduling automation in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Scheduling-automation/m-p/700860#M214543</link>
    <description>&lt;P&gt;Always (as in&amp;nbsp;&lt;U&gt;&lt;STRONG&gt;ALWAYS&lt;/STRONG&gt;&lt;/U&gt;) use a "code box" to post code. Open it with the "little running man" (next to the one indicated):&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bildschirmfoto 2020-04-07 um 08.32.59.jpg"&gt;&lt;img src="https://communities.sas.com/skins/images/E0BB18E7DAA53C21BC28740CEA0E38DA/responsive_peak/images/image_not_found.png" alt="Bildschirmfoto 2020-04-07 um 08.32.59.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;as the main posting window will destroy the horizontal positioning (among other things) of the data.&lt;/P&gt;
&lt;P&gt;Next, a DATA step with DATALINES needs no RUN statement, as the DATALINES themselves constitute a step boundary.&lt;/P&gt;
&lt;P&gt;The DATALINES block has to end with a line with a single semicolon at position 1 (or 4 semicolons in the case of DATALINES4). By using a RUN statement like you did, you force the DATA step to consider the word "run" as part of the data to be read.&lt;/P&gt;
&lt;P&gt;Test your datalines code before posting here, as by fixing it on our own we might change the intended content of the dataset.&lt;/P&gt;
&lt;P&gt;If you use a delimiter, use an INFILE DATALINES statement with the correct DLM= option, and omit fixed positions in the INPUT statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After close to 300 posts here on the communities, all this should be an easy exercise.&lt;/P&gt;</description>
    <pubDate>Mon, 23 Nov 2020 09:04:45 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2020-11-23T09:04:45Z</dc:date>
    <item>
      <title>Scheduling automation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Scheduling-automation/m-p/700828#M214524</link>
      <description>&lt;P&gt;How to make automate&amp;nbsp; code to send scheduling reports&amp;nbsp;&lt;/P&gt;&lt;P&gt;suppose i want to automate daily reports at the end of the day how delete yesterday date time stamp and&lt;/P&gt;&lt;P&gt;generate today date time stamp automatically can you anyone explain&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 04:46:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Scheduling-automation/m-p/700828#M214524</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2020-11-23T04:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduling automation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Scheduling-automation/m-p/700829#M214525</link>
      <description>&lt;P&gt;Please show the code that creates one report.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 04:49:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Scheduling-automation/m-p/700829#M214525</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-11-23T04:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduling automation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Scheduling-automation/m-p/700831#M214526</link>
      <description>Please tell me I don't know</description>
      <pubDate>Mon, 23 Nov 2020 05:04:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Scheduling-automation/m-p/700831#M214526</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2020-11-23T05:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduling automation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Scheduling-automation/m-p/700833#M214527</link>
      <description>&lt;P&gt;Then you are asking the wrong question. To automate something, you need to have that something first.&lt;/P&gt;
&lt;P&gt;Please supply example data in usable form, and an example for the report you want out of it, and show the code you already tried.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you need someone to do all your work for you, hire someone.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 05:11:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Scheduling-automation/m-p/700833#M214527</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-11-23T05:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduling automation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Scheduling-automation/m-p/700850#M214536</link>
      <description>&lt;P&gt;As&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;says, you nee to tell/show us more.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;SAs server or local machine&lt;/LI&gt;
&lt;LI&gt;What scheduling options do you have at hand (internal SAS, external scduler)&lt;/LI&gt;
&lt;LI&gt;How do you publish your report?&lt;/LI&gt;
&lt;LI&gt;What format is your report in (html, pdf..)&lt;/LI&gt;
&lt;LI&gt;What SAS producct do you have at hand?&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Mon, 23 Nov 2020 07:14:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Scheduling-automation/m-p/700850#M214536</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2020-11-23T07:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduling automation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Scheduling-automation/m-p/700853#M214539</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data tq84_rep;
input col_1 $ 1-11
col_2 $ 13-21
val_1 23-30;

datalines;
group one |foo | 42.10
group one |bar | 7.00
group one |baz | 5.99
group two |abc def | 18.1:2
group two |gh jklmno| 0.10
group three|pqr | 222.18
group three|stu vwx | 73.37
;
run;

ods html body = '‪C:\Users\Anand\Desktop\sasreport.htm';

proc report nowd data=tq84_rep

style(report ) = [background = green
cellspacing = 10
rules = rows
bordercolor = cxf03333
borderwidth = 3
frame = box /* above, below, box, hsides, vsides, lhs, rhs, void ??? */
]

style(column ) = [background = yellow
font_weight = bold /* medium, bold, light */
font_style = italic /* roman, italic */
]

style(header ) = [background = pink
font_size = 30px
font_face = Garamond
font_style = roman
cellheight = 100px /* ??? */
]

style(summary) = [background = lightblue
font_face ='Courier New'
font_width = wide /* compressed, narrow, wide */
]

style(lines ) = [background = cxD7EAFF
bordercolor = cxF03761
font =(Verdana, 4, bold italic)
]

style(calldef) = [background = purple ];

column col_1 col_2 val_1;

define col_1 / order 'Group';
define col_2 / display 'Text' ;
define val_1 / display 'Value';

break after col_1 / summarize;

%macro NOTHING;
compute after col_1;
/* Inside a compute block, call define statements can be used
to change style attributes */
if val_1.sum &amp;gt; 100 then
call define(
'val_1.sum', /* column id */
'style', /* attribute name style, url or format */
'style=[background=orange font_weight=bold]') /* value */
;

endcomp;
%mend;

/*
compute after col_1;
name = 'Total';
line ' ddd';
endcomp;
*/

run;

ods html close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 23 Nov 2020 09:52:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Scheduling-automation/m-p/700853#M214539</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2020-11-23T09:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduling automation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Scheduling-automation/m-p/700860#M214543</link>
      <description>&lt;P&gt;Always (as in&amp;nbsp;&lt;U&gt;&lt;STRONG&gt;ALWAYS&lt;/STRONG&gt;&lt;/U&gt;) use a "code box" to post code. Open it with the "little running man" (next to the one indicated):&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bildschirmfoto 2020-04-07 um 08.32.59.jpg"&gt;&lt;img src="https://communities.sas.com/skins/images/E0BB18E7DAA53C21BC28740CEA0E38DA/responsive_peak/images/image_not_found.png" alt="Bildschirmfoto 2020-04-07 um 08.32.59.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;as the main posting window will destroy the horizontal positioning (among other things) of the data.&lt;/P&gt;
&lt;P&gt;Next, a DATA step with DATALINES needs no RUN statement, as the DATALINES themselves constitute a step boundary.&lt;/P&gt;
&lt;P&gt;The DATALINES block has to end with a line with a single semicolon at position 1 (or 4 semicolons in the case of DATALINES4). By using a RUN statement like you did, you force the DATA step to consider the word "run" as part of the data to be read.&lt;/P&gt;
&lt;P&gt;Test your datalines code before posting here, as by fixing it on our own we might change the intended content of the dataset.&lt;/P&gt;
&lt;P&gt;If you use a delimiter, use an INFILE DATALINES statement with the correct DLM= option, and omit fixed positions in the INPUT statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After close to 300 posts here on the communities, all this should be an easy exercise.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 09:04:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Scheduling-automation/m-p/700860#M214543</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-11-23T09:04:45Z</dc:date>
    </item>
  </channel>
</rss>

