View previous topic :: View next topic
|
Author |
Message |
Laxminarsimharao
New User
Joined: 08 May 2007 Posts: 26 Location: hyderabad
|
|
|
|
I am moving date from A-DT to B-DT
where
10 A-DT PIC S9(7) COMP-3. ---- Size is 4
10 B-DT PIC 9(8) COMP-3. ---- Size is 5
OUTPUT DATA
----------------------
108017
My question is
1) is there any differnece in moving A-DT to B-DT ?
is the output B-DT is accurate or not ?
2) In the above output '108017' 08 - is year 2008 and 017 is date - Jan 17 then what is the 1 ?
Please clarify ....... |
|
Back to top |
|
|
Laxminarsimharao
New User
Joined: 08 May 2007 Posts: 26 Location: hyderabad
|
|
|
|
Input is Sys-Date |
|
Back to top |
|
|
Marso
REXX Moderator
Joined: 13 Mar 2006 Posts: 1353 Location: Israel
|
|
|
|
Very often, you have to add 1900 to a short date to get a long date.
so 108 + 1900 = 2008
and 097 + 1900 = 1997 |
|
Back to top |
|
|
|