IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

To check the date is greater than today's date in the panel


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Pragati Soni

New User


Joined: 18 Jan 2008
Posts: 47
Location: India

PostPosted: Wed Jan 30, 2008 1:41 pm
Reply with quote

I have coded one panel.

I need to put one validation on the date entered in panel that it should not be greater than the today's date. I tried it using ZDATE. but it is not validating.
I used it like....if(&d1 > zdate)

I also tried it with ver(&D1, &zdate)

In both the cases it is not giving any result.

I have already implemented all other validations.

Please help in this direction.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Wed Jan 30, 2008 5:24 pm
Reply with quote

In this case, I would recommend using the Panel trace command ISPDPTRC and see what's going on.

Another options are to use a panel exit (PANEXIT) or the newer *REXX command.

O.
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Sorting date into YYYYMMDD, and creat... DFSORT/ICETOOL 13
No new posts Sort card to know that creation date ... DFSORT/ICETOOL 10
No new posts Help with SORT - I need to validate d... DFSORT/ICETOOL 11
No new posts Date format correction using dfsort DFSORT/ICETOOL 3
No new posts Sorting Date Field DFSORT/ICETOOL 4
Search our Forums:


Back to Top