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 (June 1999, 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 Jun 1999 12:18:25 -0600
Reply-To:   Jack Hamilton <JackHamilton@FIRSTHEALTH.COM>
Sender:   "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:   Jack Hamilton <JackHamilton@FIRSTHEALTH.COM>
Subject:   Re: Proc cntlin
Comments:   To: mkhan@OXHP.COM
Content-Type:   text/plain; charset=US-ASCII

You can use the START and END variables in the CNTLIN dataset to control ranges. If an END variable isn't present in the CNTLIN dataset, PROC FORMAT assumes that the end of the range is the same as the beginning of the range.

-- JackHamilton@FirstHealth.com Development Manager, METRICS First Health, West Sacramento, California USA

>>> "Khan, Muhammad Z." <mkhan@OXHP.COM> 14Jun1999 11:13 AM >>> Hi everyone, I am trying to use proc cntlin on one data set. My data set looks like this CPTFR CPTH COMPLET. ERHOS ERHOS OUTPAT 80000 87999 OUTPAT 89050 89999 OUTPAT 88000 89049 OUTPAT VISLE VISLE OTHER ABFAC ABFAC OUTPAT AMBSG AMBSG OUTPAT ... ...; I am trying to apply proc cntlin as following

data one (keep=start label fmtname type); set mylib.cptcode end=lastrec; retain fmtname 'code' type 'C'; label = complet; start=cptfr; output; if lastrec then do; hlo= 'O'; start= 'XXX'; label = 'MISS'; output; end; run;

The part I can't figure out is that I have some range for some of the observation, like one of the obs in CPTFR is 80000 and the value for the corresponding obs in CPTH is 87999. Is there anyway to read ranges in the proc cntlin.

thanks

Muhammad


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