View previous topic :: View next topic
|
Author |
Message |
p.bhaskar naidu Currently Banned New User
Joined: 25 Jun 2005 Posts: 11
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
p.bhaskar naidu Currently Banned New User
Joined: 25 Jun 2005 Posts: 11
|
|
|
|
Hi enrico-sorichetti,
it worked sir. Thanks a lot.
But can you explain me the concept behind this???
Regards
Bhaskar |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
|