Joined: 03 Oct 2009 Posts: 1786 Location: Bloomington, IL
I have created one panel where I have to take date as a input from user and then need to validate that it should be future date.
I know in panel proc we do some validation(nb,list function) like below example. So any way to compare input date field with current date.
Note the change to correct terminology in the title.
Recent versions of ISPF implement the *REXX statement, allowing in-line or external Rexx to be used in the )PROC section of a panel. Although I'm OOO today, and therefore can't test code, I recommend that you use the Rexx built-in DATE function both to validate the input and convert it to a "base" (i.e. the number of days since the beginning of the Christian Era), and then compare that number with the base of the current date.