Question45:GiventheSASdatasetSASDATA.TWO:

SASDATA.TWO

XY

----

52

31

56

ThefollowingSASprogramissubmitted:

datasasuser.onetwosasdata.three;

setsasdatatwo;

ifx=5thenoutputsasuser.one;

elseoutputsasdatatwo;

run;

Whatistheresult?

1.datasetSASUSER.ONEhas5observations

datasetSASUSER.TWOhas5observations

datasetWORK.OTHERhas3observations

2.Get all Questions and Answer from here

3.You need to have paid subscription to access all questions

4.Thanks for considering Python Certification Material

CorrectAnswer:1

TheDATAstatementtellsSAStobeginbuildingaSASdatasetnamedsasuser.onetwosasdata.three.Inthisexample,theSETstatementtellsSAStoreadthesasdatatwodatasetin

theWORKlibrary.

YoucanalsousedatathatisalreadystoredinaSASdatasetasinputtoanewdataset.ToreaddatafromanexistingSASdataset,youmustspecifytheexistingdataset'sname

inoneofthesestatements:

SETstatement

MERGEstatement

You can access to full explanation to question and answer from this page.