what is picture format? give any one example?

Answers were Sorted based on User's Feedback



what is picture format? give any one example?..

Answer / 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

what is picture format? give any one example?..

Answer / aravind rangaraj

picture format is used to Create a template for printing
numbers.
ex:
proc format ;
picture nozeros low - -1 = '00.00' (prefix='-')
-1< - < 0 = '99' (prefix='-.' mult=100)
0 - < 1 = '99' (prefix='.' mult=100)
1 - high = '00.00';
run;

Is This Answer Correct ?    5 Yes 0 No

what is picture format? give any one example?..

Answer / gaurav verma

proc format;
picture pctfmt low-high='009.90%';
run;
proc tabulate data=xyz;
class name gender;
var rbc wbc;
table (name all)*(genderb all),
rbc*(mean*f=9. pct*f=pctfmt7.2)
wbc*(mean*f=8. pct*f=pctfmt7.2);
keylabel rbc='red blood cell'
wbc='white blood cell'
pct='percent';
run;

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SAS Interview Questions

Mention few ways with which a “table lookup’ is done in sas programming.

1 Answers  


What is SAS?

0 Answers  


What do the PUT and INPUT functions do?

0 Answers  


What is the difference between %local and %global?

1 Answers  


what are the new features included in the new version of SAS i.e., SAS9.1.3?

5 Answers   College School Exams Tests, Wockhardt,






What are pdv and it functions?

0 Answers  


How would you code a macro statement to produce information on the sas log? This statement can be coded anywhere? : sas-macro

0 Answers  


Do we follow ADAM in analysis dataset development?How? Usually which version? Why is it necessary?

0 Answers  


which features do you use to check the data validations and errors? : Sas-administrator

0 Answers  


Difference between informat and format?

0 Answers  


what are sas bi dashboard components? : Sas-bi

0 Answers  


Hi , which book should i refer to for preaparing SAS statistical Exam. Searched a lot on books but still did n't find relevant books

2 Answers  


Categories