Date: Sat, 1 May 2004 19:54:49 -0400
Reply-To: Howard Schreier <Howard_Schreier@ITA.DOC.GOV>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Howard Schreier <Howard_Schreier@ITA.DOC.GOV>
Subject: Re: SAS Date problem
Make that the YYMMDD informat. In other words:
date = input(put(date,8.),yymmdd8.);
On Sat, 1 May 2004 19:52:36 -0400, Howard Schreier
<Howard_Schreier@ITA.DOC.GOV> wrote:
>Try
>
> date = input(put(date,8.),mmddyy8.);
>
>On Sat, 1 May 2004 20:04:39 GMT, Giulio Belrango
><giuliobelrango@ROGERS.COM> wrote:
>
>>I work in an IBM Mainframe OS390 environment.
>>I'm reading a 4 byte field that contains a date in binary format ie PIB4.
>or
>>PIC 9(8) comp, the date is 020041201 ie CCYYMMDD. I'm trying to convert
>this
>>to a SAS date, thus allowing me to use various builtin SAS date functions.
>I
>>haven't had any luck doing this, does anybody have any suggestions.
>>
>>Thanks...
|