<?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: Mainframe SAS 8.2 create pdf file skips blank line in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Mainframe-SAS-8-2-create-pdf-file-skips-blank-line/m-p/24839#M4151</link>
    <description>How up to date is your maintenance on V8.2? The original method of generating PDF didn't use compression, etc, but that seems to have been fixed with hotfix 82BB97. We are running with hotfix bundle 82BX09.</description>
    <pubDate>Thu, 12 Jun 2008 13:53:12 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2008-06-12T13:53:12Z</dc:date>
    <item>
      <title>Mainframe SAS 8.2 create pdf file skips blank line</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Mainframe-SAS-8-2-create-pdf-file-skips-blank-line/m-p/24833#M4145</link>
      <description>I tried to create a pdf file from mainframe SAS 8.2, and then ftp the binary file to PC.  However, it does not print blank lines.  Can anyone tell me how to fix this?&lt;BR /&gt;
Below is my mainframe program for testing:&lt;BR /&gt;
&lt;BR /&gt;
OPTIONS ORIENTATION=LANDSCAPE;&lt;BR /&gt;
OPTIONS PAPERSIZE=LEGAL;&lt;BR /&gt;
OPTIONS LS=145;&lt;BR /&gt;
OPTIONS NOCENTER;&lt;BR /&gt;
OPTIONS NODATE NONUMBER;&lt;BR /&gt;
RUN;&lt;BR /&gt;
PROC TEMPLATE;&lt;BR /&gt;
    DEFINE STYLE STYLES.TEST;&lt;BR /&gt;
    PARENT=STYLES.PRINTER;&lt;BR /&gt;
    STYLE BATCH FROM  OUTPUT /&lt;BR /&gt;
    OUTPUTWIDTH=100%&lt;BR /&gt;
    FONT_SIZE=9.99PT&lt;BR /&gt;
    FONT_FACE=COURIER;&lt;BR /&gt;
END;                                                      &lt;BR /&gt;
RUN;                                                      &lt;BR /&gt;
ODS LISTING CLOSE;                                        &lt;BR /&gt;
ODS PDF FILE=OUTF STYLE=STYLES.TEST NOTOC;                &lt;BR /&gt;
TITLE ' ';                                   &lt;BR /&gt;
DATA _NULL_;                                 &lt;BR /&gt;
  INPUT @01 CC   $CHAR1.                     &lt;BR /&gt;
        @02 TXT  $CHAR79.                    &lt;BR /&gt;
        ;                                    &lt;BR /&gt;
  FILE PRINT;                                &lt;BR /&gt;
  IF CC = '1' THEN PUT _PAGE_;               &lt;BR /&gt;
  PUT @10 TXT $CHAR79.;                      &lt;BR /&gt;
DATALINES;                                   &lt;BR /&gt;
1THIS IS LINE 1                              &lt;BR /&gt;
                                             &lt;BR /&gt;
 THIS IS LINE 3                              &lt;BR /&gt;
 THIS IS LINE 4                              &lt;BR /&gt;
1THIS IS PAGE 2 LINE 1                       &lt;BR /&gt;
                                             &lt;BR /&gt;
 THIS IS PAGE 2 LINE 3                       &lt;BR /&gt;
 THIS IS PAGE 2 LINE 4                       &lt;BR /&gt;
;                                            &lt;BR /&gt;
RUN;                                         &lt;BR /&gt;
ODS _ALL_ CLOSE;                             &lt;BR /&gt;
ODS LISTING;&lt;BR /&gt;
RUN;</description>
      <pubDate>Wed, 11 Jun 2008 14:25:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Mainframe-SAS-8-2-create-pdf-file-skips-blank-line/m-p/24833#M4145</guid>
      <dc:creator>Warren</dc:creator>
      <dc:date>2008-06-11T14:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: Mainframe SAS 8.2 create pdf file skips blank line</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Mainframe-SAS-8-2-create-pdf-file-skips-blank-line/m-p/24834#M4146</link>
      <description>Warren&lt;BR /&gt;
&lt;BR /&gt;
here is my log under windows 9.1.3 and the result is correct&lt;BR /&gt;
blank second line are present on both pages&lt;BR /&gt;
&lt;BR /&gt;
so i have no idea why you have problem&lt;BR /&gt;
Andre&lt;BR /&gt;
&lt;BR /&gt;
3952  OPTIONS ORIENTATION=LANDSCAPE;&lt;BR /&gt;
3953  OPTIONS PAPERSIZE=A4;&lt;BR /&gt;
3954  OPTIONS LS=110;&lt;BR /&gt;
3955  OPTIONS NOCENTER;&lt;BR /&gt;
3956  OPTIONS NODATE NONUMBER;&lt;BR /&gt;
3957  RUN;&lt;BR /&gt;
3958  PROC TEMPLATE;&lt;BR /&gt;
3959      DEFINE STYLE warren;&lt;BR /&gt;
3960      PARENT=STYLES.PRINTER;&lt;BR /&gt;
3961      STYLE BATCH FROM  OUTPUT /&lt;BR /&gt;
3962      OUTPUTWIDTH=100%&lt;BR /&gt;
3963      FONT_SIZE=9.99PT&lt;BR /&gt;
3964      FONT_FACE=COURIER;&lt;BR /&gt;
3965  END;&lt;BR /&gt;
NOTE: STYLE 'Warren' has been saved to: SASUSER.TEMPLAT&lt;BR /&gt;
3966  RUN;&lt;BR /&gt;
NOTE: PROCEDURE TEMPLATE used (Total process time):&lt;BR /&gt;
      real time           0.65 seconds&lt;BR /&gt;
      cpu time            0.03 seconds&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
3967  ODS LISTING CLOSE;&lt;BR /&gt;
3968  ODS PDF FILE="d:\temp\warren.pdf" STYLE=warren NOTOC;&lt;BR /&gt;
NOTE: Writing ODS PDF output to DISK destination "d:\temp\warren.pdf", printer "PDF".&lt;BR /&gt;
3969  TITLE ' ';&lt;BR /&gt;
3970  DATA _NULL_;&lt;BR /&gt;
3971    INPUT @01 CC   $CHAR1.&lt;BR /&gt;
3972          @02 TXT  $CHAR79.&lt;BR /&gt;
3973          ;&lt;BR /&gt;
3974    FILE PRINT;&lt;BR /&gt;
3975    IF CC = '1' THEN PUT _PAGE_;&lt;BR /&gt;
3976    PUT @10 TXT $CHAR79.;&lt;BR /&gt;
3977  DATALINES;&lt;BR /&gt;
&lt;BR /&gt;
NOTE: Non-portable document will be produced. The current settings of FORMCHAR use non-standard line-drawing&lt;BR /&gt;
      characters and the resultant output file will not render correctly unless all readers of the document&lt;BR /&gt;
      have the SAS Monospace font installed. To make your document portable, issue the following command:&lt;BR /&gt;
      OPTIONS FORMCHAR="|----|+|---+=|-/\&amp;lt;&amp;gt;*";&lt;BR /&gt;
&lt;BR /&gt;
NOTE: 8 lines were written to file PRINT.&lt;BR /&gt;
NOTE: DATA statement used (Total process time):&lt;BR /&gt;
      real time           0.78 seconds&lt;BR /&gt;
      cpu time            0.00 seconds&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
3986  ;&lt;BR /&gt;
3987  RUN;&lt;BR /&gt;
3988  ODS pdf CLOSE;&lt;BR /&gt;
NOTE: ODS PDF printed 2 pages to d:\temp\warren.pdf.&lt;BR /&gt;
3989  ODS LISTING;&lt;BR /&gt;
3990  RUN;</description>
      <pubDate>Wed, 11 Jun 2008 14:44:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Mainframe-SAS-8-2-create-pdf-file-skips-blank-line/m-p/24834#M4146</guid>
      <dc:creator>Andre</dc:creator>
      <dc:date>2008-06-11T14:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: Mainframe SAS 8.2 create pdf file skips blank line</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Mainframe-SAS-8-2-create-pdf-file-skips-blank-line/m-p/24835#M4147</link>
      <description>I don't have problem creating pdf blank lines using PC SAS, but I have problem creating pdf blank lines using mainframe and then ftp download the binary pdf file to PC.  The downloaded pdf file does not have blank lines.</description>
      <pubDate>Wed, 11 Jun 2008 15:26:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Mainframe-SAS-8-2-create-pdf-file-skips-blank-line/m-p/24835#M4147</guid>
      <dc:creator>Warren</dc:creator>
      <dc:date>2008-06-11T15:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: Mainframe SAS 8.2 create pdf file skips blank line</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Mainframe-SAS-8-2-create-pdf-file-skips-blank-line/m-p/24836#M4148</link>
      <description>Hi:&lt;BR /&gt;
  You may have to add ASIS=ON to your style template. I'm not sure, however, that that is the problem. You might want to contact Tech Support for more help with this issue.&lt;BR /&gt;
&lt;BR /&gt;
cynthia</description>
      <pubDate>Wed, 11 Jun 2008 16:10:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Mainframe-SAS-8-2-create-pdf-file-skips-blank-line/m-p/24836#M4148</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2008-06-11T16:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: Mainframe SAS 8.2 create pdf file skips blank line</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Mainframe-SAS-8-2-create-pdf-file-skips-blank-line/m-p/24837#M4149</link>
      <description>I just tried adding ASIS=ON as shown below, but it does not work.  The blank line is still not printed.  Is that the right place to add (see below)?&lt;BR /&gt;
&lt;BR /&gt;
PROC TEMPLATE;&lt;BR /&gt;
    DEFINE STYLE STYLES.TEST;&lt;BR /&gt;
    PARENT=STYLES.PRINTER;&lt;BR /&gt;
    STYLE BATCH FROM  OUTPUT /&lt;BR /&gt;
    ASIS=ON&lt;BR /&gt;
    OUTPUTWIDTH=100%&lt;BR /&gt;
    FONT_SIZE=9.99PT&lt;BR /&gt;
    FONT_FACE=COURIER;&lt;BR /&gt;
END;</description>
      <pubDate>Wed, 11 Jun 2008 17:00:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Mainframe-SAS-8-2-create-pdf-file-skips-blank-line/m-p/24837#M4149</guid>
      <dc:creator>Warren</dc:creator>
      <dc:date>2008-06-11T17:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: Mainframe SAS 8.2 create pdf file skips blank line</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Mainframe-SAS-8-2-create-pdf-file-skips-blank-line/m-p/24838#M4150</link>
      <description>Hi:&lt;BR /&gt;
  I'm really not sure. I -think- I see what you're trying to do, but it doesn't make sense to me to try to "read and duplicate" carriage control characters, which is what it looks like you're doing. I believe that with "batch" output, such as what you're doing, that the OUTPUT element may still be affected by BODY or CONTAINER.&lt;BR /&gt;
  But, even so, if ASIS=ON did not have a visible effect when you used it in the BATCH element, then I think your best bet for help is to contact Tech Support. I think, but don't know for sure that the output and kind of blank lines that you are writing with your code may be suppressed in 1 of 3 places (or more):&lt;BR /&gt;
1) suppressed as SAS writes the file to PDF on your mainframe system&lt;BR /&gt;
2) suppressed as the file is FTP'd in binary mode&lt;BR /&gt;
3) suppressed as the newly FTP'd file is opened by Acrobat on the other platform&lt;BR /&gt;
 &lt;BR /&gt;
  It probably doesn't do any good for anyone to test this kind of program on the PC  because with FTP being involved, it's very hard to know how or where the blank lines are being written out. For example, in a totally unrelated instance, there were ways of generating output using SAS/IntrNet that would generate blank lines when the output was written to the LISTING window, but would suppress the blank lines when ODS HTML was used.&lt;BR /&gt;
 &lt;BR /&gt;
  I think that Tech Support should get consulted on this one.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Wed, 11 Jun 2008 20:58:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Mainframe-SAS-8-2-create-pdf-file-skips-blank-line/m-p/24838#M4150</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2008-06-11T20:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: Mainframe SAS 8.2 create pdf file skips blank line</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Mainframe-SAS-8-2-create-pdf-file-skips-blank-line/m-p/24839#M4151</link>
      <description>How up to date is your maintenance on V8.2? The original method of generating PDF didn't use compression, etc, but that seems to have been fixed with hotfix 82BB97. We are running with hotfix bundle 82BX09.</description>
      <pubDate>Thu, 12 Jun 2008 13:53:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Mainframe-SAS-8-2-create-pdf-file-skips-blank-line/m-p/24839#M4151</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-06-12T13:53:12Z</dc:date>
    </item>
  </channel>
</rss>

