Multiple choice technology programming languages

which of the following proc statement can be used to delete all the SAS datasets present in the library MyWork

  1. proc datasets lib=Mywork kill ;run;

  2. proc datasets lib=Mywork delete ;run;

  3. proc datasets; lib=Mywork delete ;run;

  4. proc datasets lib=Mywork erase ;run;

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The KILL option in PROC DATASETS deletes all datasets in the specified library. The correct syntax is 'proc datasets lib=MyWork kill; run;'. DELETE option requires specifying individual dataset names, and ERASE is not a valid PROC DATASETS option. Option C incorrectly places the LIB= option in a RUN statement.