Groups | Search | Server Info | Login | Register


Groups > comp.soft-sys.sas > #1009

one to one

From Ravi <ravikumarpsas@gmail.com>
Newsgroups comp.soft-sys.sas
Subject one to one
Date 2011-06-26 07:18 -0700
Organization http://groups.google.com
Message-ID <a422ef3b-5b75-4f50-8a54-b358ec4b6630@l14g2000pro.googlegroups.com> (permalink)

Show all headers | View raw


Hi all,

I have two datasets X and Y. See the below code.

data X;
input a ;
cards;
100
200
300
;
data Y;
input a;
cards;
10
20
30
;

data Z;
set X;
if _n_ = 3;
set Y;
run;

I know this is one to one reading.

output:
a
10

how this step will work internally.

Back to comp.soft-sys.sas | Previous | NextNext in thread | Find similar


Thread

one to one Ravi <ravikumarpsas@gmail.com> - 2011-06-26 07:18 -0700
  Re: one to one "Kenneth M. Lin" <kenneth_m_lin@sbcglobal.net> - 2011-06-26 08:56 -0700
    Re: one to one James B <osprey06@gmail.com> - 2011-06-29 17:22 -0700

csiph-web