Unix Technical Forum

Not a number check in Informix 4gl

This is a discussion on Not a number check in Informix 4gl within the Informix forums, part of the Database Server Software category; --> Any in built function in Informix 4gl prog language to check whether a particular i/p is numeric or not....


Go Back   Unix Technical Forum > Database Server Software > Informix

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-19-2008, 06:51 PM
Suket
 
Posts: n/a
Default Not a number check in Informix 4gl

Any in built function in Informix 4gl prog language to check whether a
particular i/p is numeric or not.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-19-2008, 06:51 PM
Rawen's Claw
 
Posts: n/a
Default Re: Not a number check in Informix 4gl

If you're just trying to check number if it is valid (integer or real), you
can assign string value to numeric variable and check if it is null
afterwards. Of course, you must have WHENEVER ERROR CONTINUE clause before
that in your program.

For checking IP addresses, you'll have to use C (or C++) language code and
call it from your 4GL program.

"Suket" <suketsinha@indiatimes.com> wrote in message
news:b30fd489.0309220227.599561ab@posting.google.c om...
> Any in built function in Informix 4gl prog language to check whether a
> particular i/p is numeric or not.


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 05:53 AM.


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