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
 
Moving S9(05) to S9(05) - gives S07 abend

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: Moving S9(05) to S9(05) - gives 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

creator.abhishek

New User


Joined: 07 May 2006
Posts: 32
Location: Pune

PostPosted: Tue Jul 04, 2006 3:00 pm    Post subject: Re: Moving S9(05) to S9(05) - gives S07 abend
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    Post subject: Re: Moving S9(05) to S9(05) - gives S07 abend
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Moving UDB database to Db2 on z/OS Keith Hooley DB2 4 Wed Sep 27, 2017 12:38 am
No new posts Moving values to a variable of copybo... Vignesh Sid COBOL Programming 6 Wed Sep 06, 2017 1:04 pm
No new posts C03 ABEND sjiraga PL/I & Assembler 1 Thu Jun 01, 2017 4:51 pm
No new posts IMS region inactive - User abend code... gthmrj IMS DB/DC 5 Tue Mar 07, 2017 12:29 pm
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm

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