On 15 Sep 2009 19:16:58 -0700, don.le...@leacom.ca (Don Leahy) wrote:
>On Tue, Sep 15, 2009 at 6:35 PM, Paul Gilmartin <paulgboul...@aim.com> 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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html