View previous topic :: View next topic
|
Author |
Message |
nag Warnings : 1 New User
Joined: 29 Jul 2005 Posts: 20
|
|
|
|
I have the variables declared like this.
05 WS-E PIC X(05) VALUE 'ABCDE'.
05 WS-F PIC 9(05) VALUE ZEROES.
Now i am moving WS-E TO WS-F.
But i think if we try to move alphabetic to numeric type we should get SOC7.But i tried thsi and i m getting some junk data.Can any one expalin this.
This the displayed output.
WS-E: ABCDE
WS-F: ABCD5 |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
nag,
Quote: |
But i think if we try to move alphabetic to numeric type we should get SOC7.But i tried thsi and i m getting some junk data.Can any one expalin this.
|
SOC7 will occur only when you do arithmetic operations on a variable with non-numeric data and not when u move alphabets to numeric field.
Similar topic was discussed days before. Search this forum. |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Nag,
This was discussed sometime back. Search the forum. |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
Back to top |
|
|
|