View previous topic :: View next topic
|
Author |
Message |
karthickrajamani Currently Banned New User
Joined: 18 Mar 2008 Posts: 2 Location: Chennai
|
|
|
|
Hi,
i have a COMP-3 variable RCD-DATE PIC S9(6) COMP-3 which has the value 080205. Now what will happen when i try to move it to this 01 LEVEL variable
01 WS-HB-DATE
05 WS-HB-YEAR PIC 9(4)
05 WS-HB-MNTH PIC 9(2)
05 WS-HB-DAY PIC 9(2)
Please let me know your answers |
|
Back to top |
|
|
Devzee
Active Member
Joined: 20 Jan 2007 Posts: 684 Location: Hollywood
|
|
|
|
Question - Do you have access to compile and execute this code? |
|
Back to top |
|
|
karthickrajamani Currently Banned New User
Joined: 18 Mar 2008 Posts: 2 Location: Chennai
|
|
|
|
Ni i dont have access .... I wud have displayed the variables if i can execute |
|
Back to top |
|
|
Devzee
Active Member
Joined: 20 Jan 2007 Posts: 684 Location: Hollywood
|
|
|
|
Since you know COBOL what do you think the output will be! |
|
Back to top |
|
|
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1512 Location: Virginia, USA
|
|
|
|
It won't be anything useful. |
|
Back to top |
|
|
|