LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (May 2004, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Sat, 1 May 2004 19:52:36 -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

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...


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