Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm
No new posts abend sort based on count records in ... anatol DFSORT/ICETOOL 5 Mon Oct 17, 2016 10:10 pm
No new posts hot to get details when "EXEC CI... Andi1982 CICS 11 Tue Sep 20, 2016 5:01 pm
No new posts S213-14 ABEND explantion Apurva Mehta JCL & VSAM 5 Thu Jul 07, 2016 10:56 pm
No new posts How to determine where is error in ab... jackzhang75 PL/I & Assembler 13 Fri Apr 15, 2016 2:01 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us