what is picture format? give any one example?

Answer Posted / bitla

picture format writes a template for numerics
proc format ;
picture sno
low - -1 = '00.00'
0-9='9.999'
10-99='99.99'
100-999='999.9'
;

When you specify zero as the digit selector, any leading
zeros in the number to be displayed are shown as
blanks. When nine is specified as the digit selector, the
leading zeros are displayed in the output.

Is This Answer Correct ?    13 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If money were no object, what would you like to do?

2698


How do you use the do loop if you don’t know how many times you should execute the do loop?

764


how to read the variables in sas? : Sas-administrator

562


What are the statements in proc sql?

606


describe about metadata object? : Sas-di

636






Tell me about % include and % eval? : sas-macro

691


Have you used macros? For what purpose you have used? : sas-macro

575


Tell me more about the parameters in macro? : sas-macro

604


data data1; input dt account; format dt date9.; cards; 1745 1230 1756 1120 1788 1130 1767 1240 ; data data2; input startdt enddt total; format startdt date9. enddt date9.; cards; 1657 1834 12300 1557 1758 16800 1789 1789 12300 1788 1345 12383 1899 1899 13250 ; proc sql; create table data3 as select * from data1 as x left join data2 as y on x.dt>=y.startdt and x.dt<=y.enddt; quit; Here, we are getting cartision product. But,I want left join report consisting of this program. It should not get duplicate values. you can modify the program also.

1811


How to limit decimal places for variable using proc means?

598


Explain proc univariate?

615


What is the use of function Proc summary?

671


Differentiate between sas functions and sas procedures.

653


Which command is used to perform sorting in sas program?

601


I am preparing SAS Certified Advanced Programmer for SAS 9 in 2014. If anybody has the latest dumps for this exam, please mail me at dhiman.mukherjee@gmail.com

2276