Hi
when I Ftp this fileI(VQ959.VQ3.PDFTESTX) as pdf with binary format , I am able to view from adobe reader, but when I email the file(JCL and SAS coding attached) to my Lotus notes email application and open it , then it pop up the following message.
Adobe Reader couldn't open "VQ3.PDFTEST.PDF" because it either not a supported file type or because the file has been damaged(for example , it was sent as an email attachment and wasn't correctly decoded).
Since I was not able to open from lotus notes, I saved in my c drive, and then I try to open it , and I got the same error message.
Please note that my
Mainfram SAS is version 8.2
I need this help big time,
My JCL for creating PDF file is follows
//*--------------------------------------------------------------------
//SCRATCH2 EXEC PGM=RESTART,
// PARM='VQ959.VQ3.PDFTESTX'
//*--------------------------------------------------------------------
//*********************************************************************
//STEP1 EXEC SAS
//PDFTEST DD DSN=VQ959.VQ3.PDFTESTX,
// DISP=(NEW,CATLG,DELETE),UNIT=PUBLIC,
// DCB=(RECFM=VB,LRECL=259,BLKSIZE=27998),
// SPACE=(TRK,(5,5),RLSE)
//SYSIN DD DATA,DLM=##
***************************************
OPTIONS ERRORABEND MISSING=' ' ;
DATA MASTER;
INPUT @1 REC $CHAR30.;
CARDS;
aaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbb
cccccccccccccccccc
dddddddddddddddddd
eeeeeeeeeeeeeeeeee
;
RUN;
OPTIONS ORIENTATION=LANDSCAPE;
OPTIONS PAPERSIZE=LEGAL;
OPTIONS LS=138;
OPTIONS NODATE NONUMBER ;
ODS LISTING CLOSE;
ODS PDF FILE=PDFTEST;
PROC PRINT DATA=MASTER;
FORMAT REC $CHAR30.;
RUN;
ODS PDF CLOSE;
ODS LISTING;
ENDSAS;
##
My jcl for email is as follows
//********************************************
//RST EXEC SAS,
// OPTIONS='EMAILHOST=11.0.72.99',OUT=ICOUT
//DATA1 DD DSN=VQ959.VQ3.PDFTESTX,
// DISP=SHR
//SASLIST DD SYSOUT=A
//SASLOG DD SYSOUT=A
//SYSIN DD *
FILENAME TEMP EMAIL 'ANTON@ROGERS.COM'
SUBJECT='TESTING MAIL INTERFACE'
TYPE='TEXT/PLAIN'
ATTACH=("VQ959.VQ3.PDFTESTX"
EXTENSION='PDF');
DATA _NULL_;
FILE TEMP;
PUT 'THIS IS TESTING';
RUN;