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;
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.