Date: Wed, 14 Apr 1999 19:56:17 +0100
Reply-To: Peter Crawford <Peter@CRAWFORDSOFTWARE.DEMON.CO.UK>
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: Peter Crawford <Peter@CRAWFORDSOFTWARE.DEMON.CO.UK>
Subject: Re: how to read initial blanks
In-Reply-To: <0A256753.006420F0.00@sw-ln1.swri.omc.ja.dtra.mil>
Laurence P Adair <ladair@SWRI.OMC.JA.DTRA.MIL> writes
>Thanks to everyone who told me to use the $char30. informat to preserve
>leading blanks. Actually, I had tried that, but what was messing me up was
>the fact that the Put statement does not preserve leading blanks. I was
>using Put to see what the data looked like and it would truncate the first
>set of blanks. However, when I printed the dataset, I could see that all
>of the leading blanks were actually there.
>
>Thanks again,
>Laurence
>ladair@swri.omc.ja.dtra.mil
When you want leading blanks preserved by a put statement,
use that $charN. format, again !
--
Peter Crawford
|