View previous topic :: View next topic
|
Author |
Message |
mohans_472
New User
Joined: 11 Oct 2009 Posts: 4 Location: hyderabad
|
|
|
|
A file layout is defined as alphanumeric but it is known that at a particular position its having COMP data. when trying to move that part of the COMP data into a COMP variable its giving a SOC7 abend.
Is it possible to move like this.If not do we have any method to move that Alphanumeric declared COMP value into a COMP variable. |
|
Back to top |
|
|
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1512 Location: Virginia, USA
|
|
|
|
I think something is not quite correct in your explanation. What is the definition of both fields and how are you doing the move? |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
Quote: |
A file layout is defined as alphanumeric but it is known that at a particular position its having COMP data. |
well the easiest way would be to correct the file layout.
short of doing it properly,
you could redefine the destination field as x-type and do an x to x move,
then afterwards refer to the COMP definition of the destination field.
what is the actual MOVE instruction? (with data layout definitons)
also, never heard of a COMP field generating a SOC7 abend.
I would imagine your abend is coming from manipulation of either numeric display or COMP-3 fields. |
|
Back to top |
|
|
|