我有一个查询解释如下......,
1.My DB2 table column is in INTEGER format (it has the date value in Julian date format - YYYYDDD)
2. After unload this date into a flat file, the result is in hexa decimal format.(4 bytes occupaid)
3. I have a requirement to compare this date with (Current Julian date+7days) and write the corresponding recods into a File.
4. So, when I am comparing the Hexa decimal Input date with Current Julian date+7days (DATE3P+7), I am getting MAxcc=0 but I am not getting required output.
5. What I identified the problem is that the input date should also be in packed decimal format.
任何人都可以让我知道如何在卸载时将表格值转换为压缩十进制,或者请建议其他方法来获取它。
例如:- 1. 卸载儒略日期 (YYYYDDD) [卸载后将采用十六进制格式]。2.与当前儒略日期+7天比较。排序字段=复制外部文件=1,包括=(1,4,PD,LT,DATE3P+7)外部文件=2,保存
在此先感谢 Rajasekhar Jannu。