Path: utzoo!attcan!uunet!ncrlnk!ncr-sd!hp-sdd!hplabs!pyramid!infmx!aland
From: aland@infmx.UUCP (Dr. Scump)
Newsgroups: comp.databases
Subject: Re: Informix 4gl "construct" statement broken
Summary: old problem - fixed
Message-ID: <467@infmx.UUCP>
Date: 27 Sep 88 03:29:45 GMT
References: <471@pan.UUCP> <1214@cod.NOSC.MIL>
Organization: Informix Software Inc., Menlo Park, CA.
Lines: 30

In article <1214@cod.NOSC.MIL>, dberg@cod.NOSC.MIL (David I. Berg) writes:
> In article <471@pan.UUCP>, jw@pan.UUCP (Jamie Watson) writes:
> > The Informix 4gl "construct" statement is broken in such a way as to render
> > it useless anywhere the "DBDATE" environment variable is used to change the
> > default date format.
> 
> I echo Watson's concern.  My users can use military format for entering
> dates (eg. 13sep88 or 13 sep 88 etc.) on INPUT but must use mm/dd/yy
> on queries.
> 
> David I. Berg (dberg@nosc.mil)
> GENISYS Information Systems, Inc., 4250 Pacific Hwy #118, San Diego, CA 92110
> UUCP:   {ihnp4 akgua decvax dcdwest ucbvax}!sdcsvax!noscvax!dberg


Sounds like you both may have old versions.  This was reported over a 
year ago and was fixed two versions ago (in 1.10.00).  I tested it in
the current version of I4GL (1.10.03) and 1.10.00 and it seems to work 
fine using a DBDATE of "dmy2."  There was a problem in an older version 
(1.00.05) that this would occur if DBDATE was used to change the order
of month/day/year (a common need in Europe).

Regards,
Alan Denney

-- 
 Alan S. Denney  |  Informix Software, Inc.  |  {pyramid|uunet}!infmx!aland
 Disclaimer: These opinions are mine alone.  If I am caught or killed,
             the secretary will disavow any knowledge of my actions.
 Santos' 4th Law: "Anything worth fighting for is worth fighting *dirty* for"