Hi, I’m running SAS 9.1 on z/OS (MVS) and try to generate a report in MS Word The report have many elements both graphs and tables and will be sent to the users by email. I can’t get graphs in the output document (instead of graphs I get just a line with some strange characters). The table is fine but there are some strange characters on the top of the table as well. I have no problem making PDF files (with graphs) but word documents seems not to be that easy? Can anyone recommend a link to some useful papers about ODS and MS Word on mainframe (MVS)? Here is my test code which I run in a JCL: //...... //RTFFILE DD DSN=XXXXXX,DISP=(NEW,CATLG,CATLG), // SPACE=(CYL,(1,3),RLSE),DATACLAS=DCMULTI, // DCB=(RECFM=VB,LRECL=8196,BLKSIZE=27998) //G DD DSN=XXXXX,DISP=(NEW,DELETE,DELETE), // SPACE=(CYL,(1,3),RLSE),DATACLAS=DCMULTI //...... GOPTIONS RESET=ALL GSFMODE=REPLACE DEVICE=EMF GSFNAME=G ; PROC GCHART DATA=SASHELP.CLASS; VBAR SEX / NAME="TEST"; RUN; QUIT: OPTIONS ORIENTATION=LANDSCAPE; ODS RTF FILE= RTFFILE STYLE=MINFONT RS=NONE TRANTAB=ASCII; proc print data=sashelp.class noobs; run; proc greplay nofs igout=Gseg; replay test; quit; ODS RTF CLOSE; and so: FILENAME EMAIL EMAIL TO=('.....
... View more