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
 

 

3576 Abend

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
View previous topic :: :: View next topic  
Author Message
p.bhaskar naidu
Currently Banned

New User


Joined: 25 Jun 2005
Posts: 11

PostPosted: Thu Dec 27, 2007 4:04 pm    Post subject: 3576 Abend
Reply with quote

HI,
i have coded one assembler program just to read from input file and write it to outputfile. i have complied successfully. when i try to run the same program i am getting the abend 3576, but it is writing the data to the output file from input.

Does anybody have information about this abend???


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

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Thu Dec 27, 2007 4:07 pm    Post subject: Reply to: 3576 Abend
Reply with quote

are you getting an abend or just a bad return code???

when exiting from your program be sure to clear the return code...

Code:
         return rc=0
or ...
         sr     r15,r15
         return rc=(15)
Back to top
View user's profile Send private message
p.bhaskar naidu
Currently Banned

New User


Joined: 25 Jun 2005
Posts: 11

PostPosted: Thu Dec 27, 2007 4:14 pm    Post subject: Reply to: 3576 Abend
Reply with quote

Hi enrico-sorichetti,
it worked sir. Thanks a lot.

But can you explain me the concept behind this???




Regards
Bhaskar
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Thu Dec 27, 2007 4:21 pm    Post subject: Reply to: 3576 Abend
Reply with quote

it is just a convention that returning to the operating system
the register 15 should contain a return code that will be displayed in the job log
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 -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
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
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


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