Focal Point
DB2 and Modify

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/2121067331

June 30, 2003, 01:11 PM
<jbkelly>
DB2 and Modify
I am working in 7.2 mainframe FOCUS. I have a db2 table with dates and null dates are possible. My MFD says :

FIELD=START_DATE ,START_DATE ,YYMD ,DATE ,MISSING=ON ,$

I want to use modify on this file (update and include). My questions are

What format should the date be in?

If I have a null date, what should I pass it in the modify?

Thanks!
July 10, 2003, 03:49 PM
LarryC
Hello,
Since the USAGE in the MFD states YYMD, you can simply provide a value in the form of 20030710 for example. I did a simple test with CRTFORM and this worked just fine. If MISSING=ON is specified, then by not providing a value, a missing or NULL value will be provided.
Let me know if this does not address your concerns.
Regards,
Larry Civelli
iWay Software