LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (September 2005)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 15 Sep 2005 11:49:00 -0300
Reply-To:     Hector Maletta <>
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         Hector Maletta <>
Subject:      Re: converting a missing time value into a real time value
Comments: To: Martin Sherman <>
In-Reply-To:  <s3295062.047@GWMAIL01.LOYOLA.EDU>
Content-Type: text/plain; charset="us-ascii"

If you have only one case in that situation, you can issue the command as follows:

IF (SYSMIS(Q1))q1=9:00.

But you may have other cases with the time missing, and you may not want all of them assigned 9 hours. If it is so, you better allocate the new value based on the relevant case's ID:

If (ID=93869)q1=9:00.

I have not considered possible further complications arising from the fact that your variable is a date variable (in hours). The simple statement q=9:00 may not work, but I don't have time to go into that now.


> -----Original Message----- > From: SPSSX(r) Discussion [mailto:SPSSX-L@LISTSERV.UGA.EDU] > On Behalf Of Martin Sherman > Sent: Thursday, September 15, 2005 11:43 AM > To: SPSSX-L@LISTSERV.UGA.EDU > Subject: converting a missing time value into a real time value > > Dear list, I have a time variable (HH.MM.SS) where a subject > has it missing (just a dot in the data field). I want to > change it to 9:00. > > I have tried the following but it doesn't work. > if q1 eq 52724937 @55time_ eq 9:00. > execute. > and I have tried the following and it doesnot work. > Is there a way I should be represented 9:00. Advice appreciated. > > if q1 eq 52724937 @55btime_ eq 9. > execute. > > martin sherman > > __________ Informacisn de NOD32 1.1217 (20050914) __________ > > Este mensaje ha sido analizado con NOD32 Antivirus System > > >

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