Hi,
I need to do a date validation to check if the date value entered into a data set is greater than or equal to sysdate.
User would be opening the data set to enter the value. If he is enters a date value less than sysdate, error should pop up.
I am planning to use IC create statements.
Is there any alternate way?
Thanks in advance,
Is this about integrity constraints or about the client interface a user would use?
I would like to know if there is any alternate way other than integrity constraints for this functionality
if SAS informats are being applied, you could create one which treats future-dated entries as invalid.
However, although an informat can apply in a data step reading values with INPUT statements and report to the sasLog, and SAS/AF and SAS/FSP windows provide immediate message feedback, in SAS Enterprise Guide, I don't see how it responds to your user.
ok...thanks for the details
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.