|
Tom Liotta wrote:
Booth Martin wrote:This is not how I understand it, but obviously I am no expert on this topic.Part of the problem that I face is that I do not know ahead of time what the *SYS or *JOB values will be.Jeff Crosby wrote:But when you define it as a field in the file, don't you have to specify a date format, with *ISO being the default? And this is what tells DB2 (or DB400 or whatever the proper 'database' name is for i5) how to format it for presentation in HLL or diaplays or whatnot?Booth:When you access the value in CL, it should already be formatted appropriately. Simplest way to see what the value looks like is to run DMPCLPGM just before CVTDAT.If you run the program with a couple different date/format job settings, you should see exactly how it works through comparing the dumped values.Tom Liotta
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.