i have a data set with 20 observations i want label from
8 to 15 observations ? how you create this one.

Answer Posted / anil

data class;
set sashelp.class(firstobs=8 obs=18);
name='surname';
run;

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between nodup and nodupkey options?

611


I have a SCD Type 2 Dimention for Location In which A Sales Office in Having two Surrogate Keys just because of the change in it's Sales Group. SKey SalesGroup Sales Office BeginDate EndDate 280 SG1 SO1 01APR2000 01APR2010 281 SG2 SO1 02APR2010 31MAR2999 Now while loading the Fact, the Lookup ir returning SKey 280 for records before and after 01APR2010. I am not able to give WHERE condition in the Lookup Properties (TranDate between BeginDate and EndDate). Please help.

1698


What are the different versions of sas that you have used until now? : sas-grid-administration

734


what is sas enterprise intelligence architecture? : Sas-bi

544


How would you code a merge that will write the matches of both to one data set, the non-matches from the left-most data?

638






what is the use of proc contents and proc print in sas? : Sas-administrator

604


Explain what is SAS informats?

624


Enlist the functions performed by sas.

677


explain the function of substr in sas? : Sas-administrator

556


How to limit decimal places for variable using proc means?

590


What are the functions used for character handling?

647


Which function is used to count the number of intervals between two sas dates?

570


Explain data step in SAS

632


Name types of category in which SAS Informats are placed?

736


What is the role of administrative users? : sas-grid-administration

661