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

Moving S9(05) to S9(05) - gives S07 abend


IBM Mainframe Forums -> COBOL Programming
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:41 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
creator.abhishek

New User


Joined: 07 May 2006
Posts: 32
Location: Pune

PostPosted: Tue Jul 04, 2006 3:00 pm
Reply with quote

had u tried with trailing or leading command.
Back to top
View user's profile Send private message
manisha-s
Warnings : 1

New User


Joined: 22 May 2006
Posts: 13

PostPosted: Tue Jul 04, 2006 4:37 pm
Reply with quote

Hi som_infotech
can u plz write the exact code what u have written for this.

Regards
Manisha
Back to top
View user's profile Send private message
kanak

Moderator


Joined: 12 Mar 2005
Posts: 252
Location: India

PostPosted: Wed Jul 05, 2006 8:41 am
Reply with quote

hey som,
do one thing..put this code befor your move:

Code:
 
IF VAR1 IS NOT NUMERIC
  MOVE ZERO TO VAR1
END-IF


then do you normal movement...
Code:

MOVE VAR1 TO VAR2

hope this will help you. Let me know if you have any queries.
Back to top
View user's profile Send private message
parikshit123

Active User


Joined: 01 Jul 2005
Posts: 269
Location: India

PostPosted: Wed Jul 05, 2006 11:52 am
Reply with quote

Hi,
I think, MOVE statement doesn't give you S0C7. It should be a subsequent arithmatic operation that you might have coded which is problematic.

However, "40404" in hex means you have spaces in that variable.
You should check for not numeric before the move.
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts ISAM and abend S03B JCL & VSAM 10
No new posts Moving Or setting POINTER to another ... COBOL Programming 2
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
Search our Forums:

Back to Top