We are using "IBM Enterprise COBOL for z/OS 3.3.1" at our shop. I used the following code and surprisingly it did not give any compilation error or abend.
It wont give you an abend irrespective of the COBOL version you are using as when you try to move an alphanumeric to comp the best way to do is to redefine the alphanumeric to numeric and then move it to comp but then if you dont do the intermediate conversion cobol would internally represent it in teh hexadecimal form as
A B C D E
C C C C C
1 2 3 4 5
Shivankoo - the code used was posted - do you see a redefines there? If there was another action taken at the time it may be that Arrbee does not remember as it was over 6 YEARS ago. Please try and avoid activating old posts.