Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Why is a STOP statement needed for the point=option on a
SET statement?

Answers were Sorted based on User's Feedback



Why is a STOP statement needed for the point=option on a SET statement?..

Answer / latha sunkara

When you use the POINT= option, you must include a STOP
statement to stop DATA step processing, programming logic
that checks for an invalid value of the POINT= variable, or
both. Because POINT= reads only those observations that are
specified in the DO statement, SAS cannot read an end-of-
file indicator as it would if the file were being read
sequentially. Because reading an end-of-file indicator ends
a DATA step automatically, failure to substitute another
means of ending the DATA step when you use POINT= can cause
the DATA step to go into a continuous loop.

Is This Answer Correct ?    8 Yes 0 No

Why is a STOP statement needed for the point=option on a SET statement?..

Answer / dupe

just to add to the previous answer, if the stop statement
is executed, SAS cannot proceed to the bottom of the
datastep, where a run statement is encountered which forces
an explisit output of observation. To overcome this, you
will need to include the output statement before the stop
statement.

Is This Answer Correct ?    3 Yes 2 No

Post New Answer

More SAS Interview Questions

is it possible to generate sas datasets using proc print ???

1 Answers   GSK GlaxoSmithKline,


What are the efficacy variables in your study?

2 Answers   Accenture, Quintiles,


How to convert a numeric variable to a character variable?

0 Answers  


how does sas handle missing values in procs? : Sas programming

0 Answers  


Describe the types of SAS programming tasks that you performed like Tables? Listings? Graphics? Ad hoc reports? Other?

4 Answers   HP, Oracle,


What is the maximum length of the macro variable?

0 Answers  


how does sas handle missing values in sort order? : Sas programming

0 Answers  


what are input dataset and output dataset options? : Sas programming

0 Answers  


What would be the value of month at the end of data step execution and how many observations would be there?

0 Answers  


what is hierarchy flattening? : Sas-di

0 Answers  


what is the primary variable in your study?

3 Answers   Accenture,


What is a macro routine?

0 Answers  


Categories