Creating a date field using SQL
The DATFMT cannot be specified on SQL Create Table. All date values, however, are stored by DB2 in the same internal format regardless of the DATFMT that is specified on the column or field definition. When that data is read from the SQL Table it will be converted to the output date format specified by the application -- in your case the *USA format.
The same answer that was given earlier also applies to your situation with STRPDM. Since STRPDM doesn't allow you to control the date format setting, DB2 displays with the date value on this interface with the default setting. With SQL tables the output default format is always ISO as dictated by the standards -- the default format for the DDS file would be derived from the date format specified in the field definition.
==================================
MORE INFORMATION ON THIS TOPIC
==================================
Check out this Search400.com Featured Topic: Database issues resolved
Search400.com's targeted search engine: Get relevant information on DB2/400.
The Best Web Links: Tips, tutorials and more.