BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
librasonali
Quartz | Level 8
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. 

1 ACCEPTED SOLUTION

Accepted Solutions
librasonali
Quartz | Level 8

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.

View solution in original post

4 REPLIES 4
PaigeMiller
Diamond | Level 26

When you run this code, are there ERRORs or WARNINGs in the log? If so, what do they say?

--
Paige Miller
librasonali
Quartz | Level 8

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.
librasonali
Quartz | Level 8

hey now it's created i placed run before ods pdf close ; statement. 

PaigeMiller
Diamond | Level 26

Maxim 2: read the log.

--
Paige Miller
How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 1438 views
  • 1 like
  • 2 in conversation