LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (July 2008, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 14 Jul 2008 08:45:07 -0500
Reply-To:     "data _null_," <datanull@GMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "data _null_," <datanull@GMAIL.COM>
Subject:      Re: Simple programming question
Comments: To: Anindya Mozumdar <anindya.lugbang@gmail.com>
In-Reply-To:  <4e829fd30807140637v31180cc7rbd3623488ca90b3a@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

It is actually F1. INFORMAT. The : is a modifier, so that I can use an informat with list input. I could have written :1. and $3. could have been written :$F3.

On 7/14/08, Anindya Mozumdar <anindya.lugbang@gmail.com> wrote: > 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; >


Back to: Top of message | Previous page | Main SAS-L page