[EpiData-list] Creating three variables from one

epidata-list at lists.umanitoba.ca epidata-list at lists.umanitoba.ca
Sat May 21 13:56:44 CDT 2005


Dear Ziad:

I am not sure I understood you correctly, but if yes, this is what you 
would do:

QES file:

testdate   <dd/mm/yyyy>
dd         ##
mm         ##
yyyy       ####
sex        <A>


and CHK file:

testdate
  MUSTENTER
  after entry
   dd=day(testdate)
   mm=month(testdate)
   yyyy=year(testdate)
  end
end

DD
  NOENTER
END

MM
  noenter
END

YYYY
  NOENTER
END

SEX
  MUSTENTER
END


Regards,

Hans

-- 
Hans L Rieder, MD, MPH
Jetzikofenstr. 12
3038 Kirchlindach
   Switzerland

Tel: +41 31 829 4577
Mob: +41 79 429 9945
Web: http://www.tbrieder.org




More information about the EpiData-list mailing list