Re: Test for Valid Whole Number

2009-05-06 Thread Mike Walter
M Please respond to "The IBM z/VM Operating System" To IBMVM@LISTSERV.UARK.EDU cc Subject Test for Valid Whole Number What I need is a test that what is entered only contains the digits 0123456789. Anybody have a nice quick way to test for a valid whole number between 1 and 9?

Re: Test for Valid Whole Number

2009-05-06 Thread James Stracka (DHL US)
Perfect! Thank you. -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Schuh, Richard Sent: Wednesday, May 06, 2009 10:40 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Test for Valid Whole Number Try if verify(number, '0123456789&

Re: Test for Valid Whole Number

2009-05-06 Thread Schuh, Richard
9 10:37 AM > To: IBMVM@LISTSERV.UARK.EDU > Subject: Test for Valid Whole Number > > What I need is a test that what is entered only contains the > digits 0123456789. > > Anybody have a nice quick way to test for a valid whole > number between 1 and 9? Testing for va

Test for Valid Whole Number

2009-05-06 Thread James Stracka (DHL US)
What I need is a test that what is entered only contains the digits 0123456789. Anybody have a nice quick way to test for a valid whole number between 1 and 9? Testing for values < 1 and > 9 are immaterial to this question and are already tested. I thought DATATYPE(number,"W") would do