View previous topic :: View next topic
|
Author |
Message |
roshansawant Warnings : 1 New User
Joined: 06 Nov 2006 Posts: 10
|
|
|
|
can we pass a AlphaNumeric Value into comp3 ?
Exp: I have a variable
01 A pic X(4) value '9999'.
01 B comp3.
Procedure Division.
Move A to B.
StopRu
It is show as trancation occured.
Pls Tell the solution as early as possible. |
|
Back to top |
|
|
Arun Raj
Moderator
Joined: 17 Oct 2006 Posts: 2481 Location: @my desk
|
|
|
|
Hi roshansawant
Ya it is possible.But I am not clear with the picture clause you've given for 'B'.It should be PIC 9(4) COMP-3
Thanks
Arun |
|
Back to top |
|
|
roshansawant Warnings : 1 New User
Joined: 06 Nov 2006 Posts: 10
|
|
|
|
Arun
yeh I have given 01 B S9(4)comp3.
Then also its showing trancation. |
|
Back to top |
|
|
Arun Raj
Moderator
Joined: 17 Oct 2006 Posts: 2481 Location: @my desk
|
|
|
|
Hi roshansawant
I gave the same code and it is not showing any error.Could you please paste here the error message you are getting.
Thanks
Arun |
|
Back to top |
|
|
DavidatK
Active Member
Joined: 22 Nov 2005 Posts: 700 Location: Troy, Michigan USA
|
|
|
|
roshansawant,
Also, what compiler version are you using? |
|
Back to top |
|
|
|