<?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 MAINFRAME (header has not printed in output file) in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-MAINFRAME-header-has-not-printed-in-output-file/m-p/558560#M155899</link>
    <description>&lt;P&gt;Please switch to Rich Text when Posting. In this mode, the {i} button is the sixth icon from the left, the "little running man" the seventh, right above your posting area.&lt;/P&gt;
&lt;P&gt;You ABSOLUTELY(!!!) must use these buttons for code and text, as the normal posting window will invariably change the contents, and the whole vertical alignment gets scrambled. As you can see, the example lines of your input data are useless at the moment.&lt;/P&gt;
&lt;P&gt;Only then will we be able to provide serious help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 14 May 2019 08:25:26 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2019-05-14T08:25:26Z</dc:date>
    <item>
      <title>SAS MAINFRAME (header has not printed in output file)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-MAINFRAME-header-has-not-printed-in-output-file/m-p/558290#M155799</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;plz find below mention code and give me some suggestions to rectify the problem&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Problem :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;By using proc report I want to generate a report I able to get the observation only,&amp;nbsp; variables are not presented in the output file&amp;nbsp;&lt;/P&gt;&lt;P&gt;kindly check with the code and try to resolve the issue&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; PROC REPORT DATA = _HED OUT= _OUT;&lt;BR /&gt;COLUMN( H SEQNUM COUNT);&lt;BR /&gt;DEFINE H / DISPLAY "HED";&lt;BR /&gt;DEFINE SEQNUM / DISPLAY "SEQNUM";&lt;BR /&gt;DEFINE COUNT / DISPLAY "COUNT";&lt;BR /&gt;BREAK AFTER H / SKIP;&lt;BR /&gt;TITLE ' CURRENT DATE SEQNUM AND COUNT OF REC';&lt;BR /&gt;RUN;&lt;BR /&gt;PROC PRINT DATA = _OUT;&lt;BR /&gt;RUN;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &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;FONT color="#FF0000"&gt;And the results in spool&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;CURRENT DATE SEQNUM AND COUNT OF REC&lt;BR /&gt;&lt;BR /&gt;Obs H SEQNUM COUNT _BREAK_&lt;BR /&gt;&lt;BR /&gt;1 H 696 19121&lt;BR /&gt;2 T 0 96&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and the output file it shows only observations variables are not there (H SEQNUM COUNT ) those three are not at present in the output file&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#003300"&gt;****** ***************&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#003300"&gt;000001 H 696 19121 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#003300"&gt;000002 T 0 96&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#003300"&gt;kindly give the answer to that problem and one more I&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#003300"&gt;want to show in footnote next seqnum 697 how can I do by using sas code could u explain that one also&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#003300"&gt;Thanks &amp;amp; regards&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#003300"&gt;rohit Krishna&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2019 13:20:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-MAINFRAME-header-has-not-printed-in-output-file/m-p/558290#M155799</guid>
      <dc:creator>rohitkrishna</dc:creator>
      <dc:date>2019-05-13T13:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: SAS MAINFRAME (header has not printed in output file)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-MAINFRAME-header-has-not-printed-in-output-file/m-p/558296#M155803</link>
      <description>&lt;P&gt;Please supply some example data (in the usual form, data step with datalines) against which we can test code, and an example for the expected output. Since we are talking list output, post the result example using the {i} button, so we can see the horizontal alignment correctly. And use the "little running man" for the example datalines step.&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2019 13:30:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-MAINFRAME-header-has-not-printed-in-output-file/m-p/558296#M155803</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-05-13T13:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: SAS MAINFRAME (header has not printed in output file)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-MAINFRAME-header-has-not-printed-in-output-file/m-p/558302#M155808</link>
      <description>Hi KurtBremser,&lt;BR /&gt;thanks for the quick replay below the code plz check it once&lt;BR /&gt;input values&lt;BR /&gt;1 H BCDE 3 696 20190501 19121&lt;BR /&gt;2 T UTL 31 0 0 96&lt;BR /&gt;&lt;BR /&gt;dataset:&lt;BR /&gt;&lt;BR /&gt;DATA _HED;&lt;BR /&gt;INFILE CLSTHED MISSOVER;&lt;BR /&gt;INPUT @1 H $CHAR1.&lt;BR /&gt;@3 HED $CHAR4.&lt;BR /&gt;@8 NUM 3.&lt;BR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/70859"&gt;@12&lt;/a&gt; SEQNUM 3.&lt;BR /&gt;@16 BUSDT 8.&lt;BR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/54795"&gt;@25&lt;/a&gt; COUNT 7.;&lt;BR /&gt;RUN;&lt;BR /&gt;&lt;BR /&gt;the output :&lt;BR /&gt;{&lt;BR /&gt;Obs HED NUM SEQNUM BUSDT COUNT&lt;BR /&gt;&lt;BR /&gt;1 BCDE 3 696 20190501 19121 }&lt;BR /&gt;&lt;BR /&gt;for trailer results :&lt;BR /&gt;{ Obs H HED NUM SEQNUM BUSDT COUNT&lt;BR /&gt;&lt;BR /&gt;1 T UTL 31 0 0 96 }&lt;BR /&gt;&lt;BR /&gt;thanks &amp;amp; regards&lt;BR /&gt;Rohit Krishna</description>
      <pubDate>Mon, 13 May 2019 13:38:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-MAINFRAME-header-has-not-printed-in-output-file/m-p/558302#M155808</guid>
      <dc:creator>rohitkrishna</dc:creator>
      <dc:date>2019-05-13T13:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: SAS MAINFRAME (header has not printed in output file)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-MAINFRAME-header-has-not-printed-in-output-file/m-p/558312#M155814</link>
      <description>&lt;P&gt;Are your trying to use PROC REPORT to produce your report? Or PROC PRINT?&lt;/P&gt;
&lt;P&gt;Not sure why you would want to use PROC REPORT to produce a dataset and then use PROC PRINT to print it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you want a human readable report? Or another data file that you can use as input to some other mainframe program?&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2019 14:23:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-MAINFRAME-header-has-not-printed-in-output-file/m-p/558312#M155814</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-05-13T14:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: SAS MAINFRAME (header has not printed in output file)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-MAINFRAME-header-has-not-printed-in-output-file/m-p/558560#M155899</link>
      <description>&lt;P&gt;Please switch to Rich Text when Posting. In this mode, the {i} button is the sixth icon from the left, the "little running man" the seventh, right above your posting area.&lt;/P&gt;
&lt;P&gt;You ABSOLUTELY(!!!) must use these buttons for code and text, as the normal posting window will invariably change the contents, and the whole vertical alignment gets scrambled. As you can see, the example lines of your input data are useless at the moment.&lt;/P&gt;
&lt;P&gt;Only then will we be able to provide serious help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2019 08:25:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-MAINFRAME-header-has-not-printed-in-output-file/m-p/558560#M155899</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-05-14T08:25:26Z</dc:date>
    </item>
  </channel>
</rss>

