View previous topic :: View next topic
|
Author |
Message |
sreenivasreddyg
New User
Joined: 23 Apr 2005 Posts: 39 Location: delhi
|
|
|
|
hi,
i think this question is not typical for many people but i am sending it bcoz other people can come to know.
01 date1.
03 year pic x(4).
03 month pic x(2).
03 day pic x(2).
01 date2.
03 month pic x(2).
03 day pic x(2).
03 year pic x(4).
what is the result in date2 after this statement.
MOVE CORR dat1 TO date2. |
|
Back to top |
|
|
anuradha
Active User
Joined: 06 Jan 2004 Posts: 247 Location: Hyderabad
|
|
|
|
Hi Sreenivas,
Code: |
01 date1.
03 year pic x(4) value '2005'.
03 month pic x(2) value '05'.
03 day pic x(2) value '04'
01 date2.
03 month pic x(2).
03 day pic x(2).
03 year pic x(4).
MOVE CORR date1 TO date2. |
Suppose if the code is such then date2 will have 05042005 |
|
Back to top |
|
|
|