Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
movinh s9(5) to s9(5) - s07 abend

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
View previous topic :: :: View next topic  
Author Message
som_infotech

New User


Joined: 25 Feb 2006
Posts: 38
Location: chennai-india

PostPosted: Tue Jul 04, 2006 12:45 pm    Post subject: movinh s9(5) to s9(5) - s07 abend
Reply with quote

actually i want to move a s9(05) variable to another s9(05) variable but when moving it gives me S07 abend so i just took a display of that item it is holding '40404' what should i do to solve it
Back to top
View user's profile Send private message

pasupuleti

New User


Joined: 30 Jun 2006
Posts: 8
Location: India

PostPosted: Tue Jul 04, 2006 3:29 pm    Post subject: Re: movinh s9(5) to s9(5) - s07 abend
Reply with quote

Please check if you've initialized the variables properly in the WS section or in the Procedure division before the move statement.
Back to top
View user's profile Send private message
som_infotech

New User


Joined: 25 Feb 2006
Posts: 38
Location: chennai-india

PostPosted: Tue Jul 04, 2006 3:51 pm    Post subject: Re: movinh s9(5) to s9(5) - s07 abend
Reply with quote

actually it is got from the file
ex

a pic 9(5) comp3.
b pic 9(5) comp3.

when i read the file it will be stored into a variable then i want the same contents to be moved to b variable. when moving it gave me s07 error so i just displayed the value it has the data '40404' but my requirements is the same data should be moved to b variable what ever it may be in a variable it should be moved.
Back to top
View user's profile Send private message
pasupuleti

New User


Joined: 30 Jun 2006
Posts: 8
Location: India

PostPosted: Thu Jul 06, 2006 11:16 am    Post subject: movinh s9(5) to s9(5) - s07 abend
Reply with quote

Som,

I think this question is already answered in a different posting from you. The 0C7 is happening because you're trying to move Spaces (40404) to numeric destination.

If you can ensure that only numeric data gets moved to the destination field then by using the IS NUMERIC option, then it should be fine.
Back to top
View user's profile Send private message
btgprasad

New User


Joined: 21 Mar 2006
Posts: 4

PostPosted: Thu Jul 06, 2006 11:37 am    Post subject:
Reply with quote

if it is showing ''40404' ...it ascii or EBCDIC formate of spaces!!
some spaces are getting moved to that purticular field .u cant move move space to comp-3.
try initialise the record inwhich filed is there .
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to force a select query to abend neo4u DB2 2 Mon Apr 23, 2018 1:36 pm
No new posts Need help with 002-030 ABEND in TSO R... Terry Tallian TSO/ISPF 0 Sat Mar 17, 2018 1:13 am
No new posts Need help with ABEND RC=S806 RSN=4 an... chong.zhou All Other Mainframe Topics 3 Fri Feb 09, 2018 12:17 am
No new posts ASP3 ABEND IN CICS Vedant CICS 0 Fri Oct 20, 2017 3:18 pm
No new posts C03 ABEND sjiraga PL/I & Assembler 1 Thu Jun 01, 2017 4:51 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us