100 pts.
 Empty Date Type Variable
 

What does a *ISO Date type variable contain if it is not populated?

It is not *Zero or *Null???

 



Software/Hardware used:
ASKED: August 12, 2009  10:10 AM
UPDATED: August 12, 2009  2:10 PM

Answer Wiki:
Initialization depends on a number of factors but generally the date field is initialized to 0001-01-01 You could answer this easily/ D testdateiso s d datfmt(*iso) C testdateiso dsply C eval *inlr = *on C return ____________________________________________________ It depends on where / how you dfefine it. Usually it defaults to *LOVAL or 0001-01-01. However, just adding a field to a file may result in an unpopulated field that will cause errors. (Depending on how the field is defined in DDS or SQL). Neither zeros not null is a valid date. If you have this in your database, you will get errors. Graybeard52
Last Wiki Answer Submitted:  August 12, 2009  1:56 pm  by  philpl1jb   44,190 pts.
All Answer Wiki Contributors:  philpl1jb   44,190 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _