Hi all,
I tried to generate a report in sas mainframe by using sas proc report procedure and ods function while using to pdf its not working and I tried to print it in HTML so successfully it prints the output but it's not in the readible format so kindly help to find the solution for this issue below the code plz go through on the code
{
OPTIONS NONUMBER NODATE PAGENO=1 ORIENTATION=LANDSCAPE LS=164 PS=60;
ODS LISTING CLOSE;ODS NORESULTS;
ODS HTML FILE=OUTPDF;
DATA SASWORK.TRP;
INFILE INPPDF;
INPUT @1 H $CHAR1.
@3 HED $CHAR4.
@8 NUM 3.
@12 SEQNUM 3.
@16 BUSDT 8.
@25 COUNT 7.;
PUT _INFILE_;
RUN;
DATA SASWORK.FINAL;
SET SASWORK.TRP;
RUN;
PROC REPORT DATA=SASWORK.FINAL OUT=OUTPDF NOWD
NOHEADER
STYLE(COLUMN)={ASIS=ON};
TITLE ' ';
COLUMNS H SEQNUM COUNT;
DEFINE H / DISPLAY NOPRINT;
DEFINE SEQNUM / DISPLAY;
DEFINE COUNT / DISPLAY;
RUN;
ODS HTML CLOSE;
ODS LISTING;
}
and below the output plz look on it
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <HTML> <!-- Ge
="shutdown()" vlink="#004488" link="#0066AA" leftmargin=8 bgcolor="#E0E0
<font face="Arial, Helvetica, Helv" size="3" color="#002288"><A NAME="I
> <TR> <TD ALIGN=CENTER bgcolor="#E0E0E0"><font face="Arial, Helvetica
<TABLE cellspacing=1 cellpadding=7 rules=GROUPS frame=BOX border=1 bgc
ont></PRE> </TD> <TD ALIGN=RIGHT bgcolor="#D3D3D3"><PRE> <font face="A
000000"> 0</font></PRE> </TD> <TD ALIGN=RIGHT bgcolor="#D3D3D3">
</font><SCRIPT LANGUAGE="JavaScript"> <!-- // This script is to load al
so kindly help on this issue
thanks & regards
Rohit Krishna