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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Replacing 'YYMMDD' with date, varying... SYNCSORT 3
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts Execute secondary panel of sdsf with ... CLIST & REXX 1
No new posts SCOPE PENDING option -check data DB2 2
No new posts Need to convert date format DFSORT/ICETOOL 20
Search our Forums:

Back to Top