
| Features: |
VAR statement option: : STYLE |
| Other features: |
LABEL statement ODS PDF statement FORMAT statement TITLE statement |
| Data set: | EXPREV |
options nodate pageno=1 linesize=80 pagesize=30 obs=10;
ods html close; ods listing;
proc print data=exprev split='*' n obs='Observation*Number*===========';
var country sale_type price;
label country='Country Name**============'
sale_type='Order Type**=========='
price='Price Per Unit*in USD*==============';
format price dollar10.2; title 'Order Type and Price Per Unit in Each Country'; run;
ods listing close; ods html;
label country='Country Name**============'
sale_type='Order Type**=========='
price='Price Per Unit*in USD*==============';
Order Type and Price Per Unit in Each Country 1
Observation Country Name Order Type Price Per Unit
Number in USD
=========== ============ ========== ==============
1 Antarctica Internet $92.60
2 Puerto Rico Catalog $51.20
3 Virgin Islands (U.S.) In Store $31.10
4 Aruba Catalog $123.70
5 Bahamas Catalog $113.40
6 Bermuda Catalog $41.00
7 Belize In Store $146.40
8 British Virgin Islands Catalog $40.20
9 Canada Catalog $11.80
10 Cayman Islands In Store $71.00
N = 10
options nodate pageno=1 linesize=80 pagesize=40 obs=10;
ods pdf file='your_file.pdf';
proc print data=exprev split='*' n obs='Observation*Number*===========';
var country sale_type price;
label country='Country Name**============'
sale_type='Order Type**=========='
price='Price Per Unit in USD**==============';
format price dollar10.2; title 'Order Type and Price Per Unit in Each Country'; run;
ods pdf close;options nodate pageno=1 linesize=80 pagesize=40 obs=10;
ods pdf file='your_file.pdf';
proc print data=exprev split='*' n obs='Observation*Number*==========='
style(n) = {fontstyle=italic backgrouncolor= blue}
style(header obs obsheader) = {backgrouncolor=yellow color=blue};
var country sale_type price / style (data)= [ background = gray ];
label country='Country Name**====='
sale_type='Order Type**====='
price='Price Per Unit in USD**========';
format price dollar10.2;
run;
title 'Order Type and Price Per Unit in Each Country';
ods pdf close;proc print data=exprev split='*' n obs='Observation*Number*==========='
style(n) = {fontstyle=italic backgrouncolor= blue}
style(header obs obsheader) = {backgrouncolor=yellow color=blue};