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

3576 Abend


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Dec 27, 2007 4:07 pm
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Dec 27, 2007 4:21 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts ISAM and abend S03B JCL & VSAM 10
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