Date: Fri, 27 Oct 2006 08:49:08 -0700
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
Subject: Re: Some sas queries
Content-Type: text/plain; charset="iso-8859-1"
I think you are write and I will practise that in my future.
Sigurd Hermansen wrote:
> Some Question 1! Are you looking for a quick answer or an understanding of =
> the context. If the latter, check out the _type_ variable in PROC MEANS or =
> If you haven't practiced using indexes or search engines, you'll find them =
> very valuable as a resource. The SAS Data step program in Question 2 does n=
> othing special except for the special variable name '_infile_'. Take a few =
> minutes to look up 'SAS _infile_'. You won't have to depend on anyone takin=
> g time to e-mail you an answer.
> I've interviewed many individuals for SAS programming jobs. I'd rather disc=
> over that an applicant knows what to look up and how to do so than that he =
> or she has memorized answers to a few tricky questions. Candidates who have=
> an understanding of the SAS System have no problem establishing that. Thos=
> e that don't fall flat when confronted with simple and ordinary questions.
> Hi guys,
> I am appearing for the base SAS 9 exam in few days ..Please answer some
> of the questions....and mail me to email@example.com if possible
> Question 1:
> IF _TYPE_=3D'....0.0.'B;?
> You are using a DATA step to post-process an output data set
> variables. What is the purpose of the statement above?
> Question 2:
> Sample Code
> data _null_;
> file y;
> put _infile_;
> What is the function of the sample code above?
> Choice 1
> It reads input from INFILE x and creates FILE y. Then the value of
> _INFILE_ is written to the SAS LOG.
> Choice 2
> It copies records from the input file to the output file
> withoutcreating any SAS variables.
> Choice 3
> It writes the INFILE variables to the SASLOGg.
> Choice 4
> It writes data from INFILE y to file x.
> Choice 5
> It does nothing, because the code results in a syntax error due to a
> null INPUT line.
> Please reply as soon as possible