libname a "/stage_1/download/backup/adhoc/kyccrs/120720/thd_best_r50/"; ods listing close; ods pdf file='/etl/home/rrtqarun/data/aml/Datasets/cardholder/sb56634/myfile.pdf'; proc tabulate data= a.best120720; class R50_COLLST U50_PGIND; var R50_DTCOLLST; table U50_PGIND ="Business Liability",R50_DTCOLLST="closed date"*mean=" " * ( R50_COLLST= " " all); ods pdf close; ods listing; run;
hello ,
Please find above my code, where i don't know why code is not written it to the specified folder
/etl/home/rrtqarun/data/aml/Datasets/cardholder/sb56634/myfile.pdf
i.e in the above path no myfile.pdf is present . why ?
please help !!! thanks in advance.
No ERROR are there.. Please find below snippet of log file.
NOTE: AUTOEXEC processing completed. 1 libname a "/stage_1/download/backup/adhoc/kyccrs/120720/thd_best_r50/"; NOTE: Libref A was successfully assigned as follows: Engine: V9 Physical Name: /stage_1/download/backup/adhoc/kyccrs/120720/thd_best_r50 2 ods listing close; 3 ods pdf file='/etl/home/rrtqarun/data/aml/Datasets/cardholder/sb56634/myhtmlfile.pdf'; NOTE: Writing ODS PDF output to DISK destination "/etl/home/rrtqarun/data/aml/Datasets/cardholder/sb56634/myhtmlfile.pdf", printer "PDF". 4 proc tabulate data= a.best120720; 5 class R50_COLLST U50_PGIND; 6 var R50_DTCOLLST; 7 table U50_PGIND ="Business Liability",R50_DTCOLLST="closed date"*mean=" " * ( R50_COLLST= " " all); 8 ods pdf close; NOTE: ODS PDF printed no output. (This sometimes results from failing to place a RUN statement before the ODS PDF CLOSE statement.) 9 ods listing; 10 run; NOTE: There were 297601 observations read from the data set A.BEST120720. NOTE: The PROCEDURE TABULATE printed pages 1-2.
When you run this code, are there ERRORs or WARNINGs in the log? If so, what do they say?
No ERROR are there.. Please find below snippet of log file.
NOTE: AUTOEXEC processing completed. 1 libname a "/stage_1/download/backup/adhoc/kyccrs/120720/thd_best_r50/"; NOTE: Libref A was successfully assigned as follows: Engine: V9 Physical Name: /stage_1/download/backup/adhoc/kyccrs/120720/thd_best_r50 2 ods listing close; 3 ods pdf file='/etl/home/rrtqarun/data/aml/Datasets/cardholder/sb56634/myhtmlfile.pdf'; NOTE: Writing ODS PDF output to DISK destination "/etl/home/rrtqarun/data/aml/Datasets/cardholder/sb56634/myhtmlfile.pdf", printer "PDF". 4 proc tabulate data= a.best120720; 5 class R50_COLLST U50_PGIND; 6 var R50_DTCOLLST; 7 table U50_PGIND ="Business Liability",R50_DTCOLLST="closed date"*mean=" " * ( R50_COLLST= " " all); 8 ods pdf close; NOTE: ODS PDF printed no output. (This sometimes results from failing to place a RUN statement before the ODS PDF CLOSE statement.) 9 ods listing; 10 run; NOTE: There were 297601 observations read from the data set A.BEST120720. NOTE: The PROCEDURE TABULATE printed pages 1-2.
hey now it's created i placed run before ods pdf close ; statement.
Maxim 2: read the log.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.
Ready to level-up your skills? Choose your own adventure.