Rollback is an option, but what do you do after that?   Fail silently?

On Wed, Sep 16, 2009 at 9:42 AM, Howard Brazee <[email protected]> wrote:
> On 15 Sep 2009 19:16:58 -0700, [email protected] (Don Leahy) wrote:
>
>
>>On Tue, Sep 15, 2009 at 6:35 PM, Paul Gilmartin <[email protected]> wrote:
>>> On Tue, 15 Sep 2009 17:34:23 -0400, Don Leahy wrote:
>>>
>>>>Nearly all of the Cobol programs that I have worked with in the past
>>>>20 years have had some sort of connection to a DBMS or message queuing
>>>>system.  Abends are needed in order to roll back uncommitted updates
>>>>when a condition arises that prevents the application from continuing.
>>>> In other words, abends are used to preserve data base integrity.
>>>>
>>> Wouldn't it be sufficient, then, simply to exit with whatever
>>> return code, without issuing a COMMIT?
>
>>Normal termination always causes a COMMIT.
>
>
> Then do a rollback.
>
> ----------------------------------------------------------------------
> 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
>

----------------------------------------------------------------------
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