|Date: ||Mon, 18 May 1998 16:54:00 EDT|
|Reply-To: ||jq5 <Jin_QIAN@UMAIL.UMD.EDU>|
|Sender: ||"SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>|
|From: ||jq5 <Jin_QIAN@UMAIL.UMD.EDU>|
|Subject: ||Re: Data from IBM mainframe|
>Hi SAS experts:
>I got a data set from IBM mainframe. One of the variables has a ending =
>letter representing a sign. I used character string to input that =
>variable and some of the values are like:
>Can somebody tell me how to convert those letters and '}' into meaningful =
>Thank you very much.
The data format is called Zoned Decimal Digit. You can use ZDw.d informat
to read. For example, if your data has two digit for decimal, you can use
ZD9.2 to read.
input x ZD9.2
This will give you the following output.
Hope this helps.
Comsys Technical Services, INC.