You probably mean the fact that the "code type" parameter of the
ABEND macro detemines whether it will be seen as a user or a
system abend, right?

No.  My quibble was with your characterization of system vs. user
as service routine vs. programmer.

Usually, Sxxx abends are for system code, user abend for application
code.

That's better.

You can of course code an SD37 abend and confuse everybody.

That's not something I would do.


From: Peter Hunkeler <[EMAIL PROTECTED]>
Reply-To: IBM Mainframe Discussion List <IBM-MAIN@BAMA.UA.EDU>
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: Why is it still there?
Date: Fri, 25 Aug 2006 14:46:17 -0500

>>Any program that returns to the operating system by branching
>>to the address it was told when it initially got control is
>>assumed to have completed successfully.
>
>SVC 3 = normal completion
>SVC 13 = abnormal completion

Absolutely correct but programs usually don't issue SVC3 directly
but rather exit with a "BR R14". R14 points to an "SVC 3" instruction
when programs get control from MVS.

>That's not entirely accurate.  It depends how the SVC 13 is issued.

You probably mean the fact that the "code type" parameter of the
ABEND macro detemines whether it will be seen as a user or a
system abend, right?

Since the OP's question seemed to more of a beginner's type of
question, I didn't want to go into more (assembler) details.

Usually, Sxxx abends are for system code, user abend for application
code. You can of course code an SD37 abend and confuse everybody.

Peter Hunkeler
Credit Suisse

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

_________________________________________________________________
Check the weather nationwide with MSN Search: Try it now! http://search.msn.com/results.aspx?q=weather&FORM=WLMTAG

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to