| Date: | Mon, 14 Jul 2008 19:07:21 +0530 |
| Reply-To: | Anindya Mozumdar <anindya.lugbang@GMAIL.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | Anindya Mozumdar <anindya.lugbang@GMAIL.COM> |
| Subject: | Re: Simple programming question |
|
| In-Reply-To: | <7367b4e20807140611m6de7d8bwb99e2666a9929ea@mail.gmail.com> |
| Content-Type: | text/plain; charset=ISO-8859-1 |
What is the significance of :f1 in the code? Thanks....
On Mon, Jul 14, 2008 at 6:41 PM, data _null_, <datanull@gmail.com> wrote:
> UPDATE!! The forgotten sibling of SET and MERGE.
>
> data have;
> infile cards missover;
> input Ptno (a b c d e f g h) (:f1. :$3.);
> cards;
> 1 1 Yes
> 1 . . 1 Yes
> 1 . . . . 0 No
> 1 . . . . . . 1 Yes
> ;;;;
> run;
> data need;
> update have(obs=0) have;
> by ptno;
> run;
> proc print;
> run;
|