Date: Sun, 29 Jan 2006 12:26:49 -0500
Reply-To: Peter Crawford <peter.crawford@BLUEYONDER.CO.UK>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Peter Crawford <peter.crawford@BLUEYONDER.CO.UK>
Subject: Re: How to tell the datatype of a user-made format
Content-Type: text/plain; charset=ISO-8859-1
>>-----Original Message-----
>>From: owner-sas-l@listserv.uga.edu [mailto:owner-sas-l@listserv.uga.edu]
>On Behalf Of Rune Runnestø
>>Sent: 2006, January, 27 11:09 AM
>>To: sas-l@uga.edu
>>Subject: How to tell the datatype of a user-made format
>>
>>If you want to reference a user-made format, you have to know whether it
>is a numeric or characher format. Character formats have to preceded with
$.
>>How can you tell if a format is a numeric or character ?
>>
>>Below I have made a numeric format MYDATE. But none of the two following
>procedures gives me information what datatype the format has.
>>
>>proc format;
>> picture mydate
>> low-high='%0d-%b-%Y ' (datatype=date);
>> run;
>> proc format lib=work fmtlib;
>> run;
>> proc catalog cat = work.formats;
>> contents;
>> run;
>> quit;
>>
>>Can anyone tell ?
>>
>>Regards, Rune
>>_______________________________________________________________________
>>
>>This e-mail may be
could you use the format catalog entry objtype to indicate format type
format numeric format
formatc chaacter format
infmt informat to numeric value
infmtc informat to character value
|