IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

movinh s9(5) to s9(5) - s07 abend


IBM Mainframe Forums -> ABENDS & Debugging
Post new topic   Reply to topic
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
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
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> ABENDS & Debugging

 


Similar Topics
Topic Forum Replies
No new posts ISAM and abend S03B JCL & VSAM 9
No new posts Abend S0C4 11 (Page Translation Excep... PL/I & Assembler 16
No new posts WER999A - UNSUCCESSFUL SORT 8ED U Ab... SYNCSORT 5
No new posts the system or user abend SF0F R=NULL COBOL Programming 0
No new posts Need to get an DLI abend like U0200 IMS DB/DC 2
Search our Forums:

Back to Top