MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Date Validation in Panels

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
coolman
Intermediate


Joined: 03 Jan 2003
Posts: 283
Topics: 27
Location: US

PostPosted: Fri May 27, 2005 9:50 am    Post subject: Date Validation in Panels Reply with quote

Folks,

Pls let me know if there is a way to do this. I have a panel which has got a date field in it. Now, this fields can be blank or can have a date. If it's non-blank, I need to validate this date.

I'm using the VER(DATE,IDATE) to do this...But, is there a way to do this only if the date is non-blank.

Pls suggest.

Cheers,
Coolman
________
Philco


Last edited by coolman on Sat Feb 05, 2011 1:43 am; edited 1 time in total
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Fri May 27, 2005 11:28 am    Post subject: Reply with quote

coolman,

Can't you check for low-values or spaces for the date field?

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
coolman
Intermediate


Joined: 03 Jan 2003
Posts: 283
Topics: 27
Location: US

PostPosted: Fri May 27, 2005 1:45 pm    Post subject: Reply with quote

Kolusu,

Let me restate the problem once again. The date field on the screen is optional. I mean the user need not enter it at all. But, if he enters it, it should be a valid date. So, checking of spaces/low-values woud not help here

Cheers,
Coolman
________
pot news


Last edited by coolman on Sat Feb 05, 2011 1:43 am; edited 1 time in total
Back to top
View user's profile Send private message
coolman
Intermediate


Joined: 03 Jan 2003
Posts: 283
Topics: 27
Location: US

PostPosted: Fri May 27, 2005 1:59 pm    Post subject: Reply with quote

Folks,

I fixed it..Just need to use an IF condition and then check if it's non-blank. If not do a IDATE..

Thanks for ur help

Cheers,
Coolman
________
XV1900
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group