- Which of the following is a valid name for a character format?
- You specify the variable to which a format applies when creating it in a PROC FORMAT step.
- Which of the following FORMAT statements was used to create this output?
|
Employee_ID |
Job_Title |
Salary |
120102 |
Sales Manager |
$108255.00 |
120103 |
Sales Manager |
$87,975.00 |
120121 |
Sales Rep. II |
$26,600.00 |
120122 |
Sales Rep. II |
$27,475.00 |
120123 |
Sales Rep. I |
$26,190.00 |
- Which of the following FORMAT statements was used to create this output?
|
Obs |
Order_ID |
Order_
Date |
Delivery_
Date
|
1 |
1230058123 |
11JAN07 |
01/11/07 |
2 |
1230080101 |
15JAN07 |
01/19/07 |
3 |
1230106883 |
20JAN07 |
01/22/07 |
4 |
1230147441 |
28JAN07 |
01/28/07 |
5 |
1230315085 |
27FEB07 |
02/27/07 |
- Which of the following is not a valid user-defined format name?
- You can use either < or > to define a non-inclusive range in a VALUE statement.
- The format name must include a period delimiter in the FORMAT statement.
- Given this$TITLE format, what would display for a value of Sales Rep II?
proc format;
value $title
'Sales Manager',
'Senior Sales Mgr'='Manager'
'Sales Rep. I',
'Sales Rep. II'='Rep';
run;
- A format modifies both the stored value and the displayed value.
- A FORMAT statement is used only to apply SAS formats.
|