Unix Technical Forum

Re: Informix 4GL and dates

This is a discussion on Re: Informix 4GL and dates within the Informix forums, part of the Database Server Software category; --> Mike Aubury wrote: > I'm trying to test a bug report for Aubit4GL - can someone with Informix 4GL ...


Go Back   Unix Technical Forum > Database Server Software > Informix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-19-2008, 07:38 PM
Mark D. Stock
 
Posts: n/a
Default Re: Informix 4GL and dates


Mike Aubury wrote:

> I'm trying to test a bug report for Aubit4GL - can someone with Informix 4GL
> try this code :
>
>
> main
> define xdate date
> let xdate="31/31/31"
> display xdate
> end main
>
>
> Does it error out - or just display xdate as being null (ie blank) and not
> say anything?


Using 4GL-RDS version 7.30.UC1, it displays as a blank. Or to be more
accurate, it displays spaces for each character of the DBDATE format. So
with DBDATE=DMY4/, it displays 10 spaces, and with DBDATE=DMY2/, it
displays 8 spaces. 4J's DVM version 3.53 does the same.

Using:

MAIN

DEFINE xdate DATE

LET xdate="31/31/31"
DISPLAY "'", xdate, "'"
DISPLAY "'123456789x"

END MAIN


Cheers,
--
Mark.

+----------------------------------------------------------+-----------+
| Mark D. Stock mailto:mdstock@MydasSolutions.com |//////// /|
| Mydas Solutions Ltd http://MydasSolutions.com |///// / //|
| +-----------------------------------+//// / ///|
| |We value your comments, which have |/// / ////|
| |been recorded and automatically |// / /////|
| |emailed back to us for our records.|/ ////////|
+----------------------+-----------------------------------+-----------+

sending to informix-list
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:53 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com