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

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between SAS functions and procedures?

649


How do dates work in SAS data?

672


What is program data vector (pdv)?

625


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

721


how many types of prompts are there? : Sas-bi

540






List down the reasons for choosing sas over other data analytics tools.

798


what are the considerations when picking a SAS/STAT procedure?

2888


Mention what is PROC in SAS?

592


What are the difference between the sas data step and sas procs?

596


How long can a macro variable be? A token? : sas-macro

707


What do the PUT and INPUT functions do?

767


describe about physical data integration? : Sas-di

551


What is the difference between INPUT and INFILE ?

747


What are the five ways to do a table lookup in sas? : sas-grid-administration

583


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

582