The SAS Output Delivery System and reporting techniques

ODS PDF File On the Mainframe

Reply
Regular Learner
Posts: 1

ODS PDF File On the Mainframe

I am trying to create a PDF file using ODS on a mainframe environment.  Below is the code.  The output is full of system characters

in the attachment.  Is there a way to get this to work?

 

 

 


ODS PDF FILE="Z8853.HLRPT.PDF"; PROC PRINT DATA=COMBINED NOOBS LABEL SPLIT='*'; VAR _GRP DAY_PRAF_MIN DAY_ARAF_MIN MTD_PRAF_MIN MTD_ARAF_MIN; FORMAT DAY_PRAF_MIN DAY_ARAF_MIN MTD_PRAF_MIN MTD_ARAF_MIN 5.1; TITLE 'MAINLINE FUEL METRICS'; /* LABEL DAY_PRAF_MIN = 'DAY*PRAF' DAY_ARAF_MIN = 'DAY*ARAF' MTD_PRAF_MIN = 'MTD*PRAF' MTD_ARAF_MIN = 'MTD*ARAF' _GRP=' * ' ; */ RUN; ODS PDF CLOSE;

 

 

SAS Super FREQ
Posts: 8,862

Re: ODS PDF File On the Mainframe

Hi, something sticks in my mind from the early days of ODS PDF and you may need to open a track with Tech Support to verify.

An ODS PDF file is a proprietary binary file format invented by the Adobe company. In the early days of ODS, you couldn't create PDF files on the mainframe. But then you could, however, as shown in this document, on page 11 http://support.sas.com/rnd/base/ods/templateFAQ/MVSODS3.pdf -- you are advised "when moving the file to an ASCII host, then file will need to be moved as binary ."

The document was written for SAS 9.2 however, so perhaps checking with Tech Support is your best bet, unless someone with more recent mainframe experience has the answer.

cynthia
Ask a Question
Discussion stats
  • 1 reply
  • 373 views
  • 0 likes
  • 2 in conversation