Date: Fri, 27 Oct 2006 08:49:08 -0700
Reply-To: rak121982@GMAIL.COM
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: rak121982@GMAIL.COM
Organization: http://groups.google.com
Subject: Re: Some sas queries
In-Reply-To: <EAA1849F-E8C6-48C5-9164-B4D07D9557B3@mimectl>
Content-Type: text/plain; charset="iso-8859-1"
Sigurd,
I think you are write and I will practise that in my future.
Thanks,
Rakesh
Sigurd Hermansen wrote:
> Rakesh:
> 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 =
> SUMMARY.
> 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.
> Sig
> Hi guys,
>
> I am appearing for the base SAS 9 exam in few days ..Please answer some
> of the questions....and mail me to rak121982@gmail.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_;
> infilex;
> file y;
> input;
> put _infile_;
> run;
> 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
>
> Thanks,
> Rakesh
> 9085630587
|