Button for 1977 Button for 1984 Button for 1990 Button for 1995 Button for MDC Button for notes Button for examples
Left Hand Pointer

Error Code M27

M[UMPS] by Example

Right Hand Pointer

M27, Attempt to rollback a transaction that is not restartable

Introduced in the 1995 ANSI M[UMPS] language standard.

One of the activities that may occur in the context of transaction processing is a restart. A restart is a second (or third, or...) attempt to process the complete transaction. Whether or not a transaction is actually restarted, depends on whether it is restartable. A transaction is restartable if the initiating TStart command specifies a restartargument. A restart of a restartable transaction causes execution to resume with the initial TStart command. A restart of a non- restartable transaction ends the transaction and causes this error to occur.

TStart (A,B,C):TRANSACTIONID="Example"
; ...
; set up transaction
;...
; Programmer can initiate restart
If PROBLEMS TREstart
; ...
; Complete the transaction
TCommit

Button for 1977 Button for 1984 Button for 1990 Button for 1995 Button for MDC Button for notes Button for examples

Copyright © Standard Documents; 1977-2017 MUMPS Development Committee;
Copyright © Examples: 1995-2017 Ed de Moel;
Copyright © Annotations: 2003-2017 Jacquard Systems Research.

The information in this page is NOT authoritative and subject to be modified at any moment.
Please consult the appropriate (draft) language standard for an authoritative definition.

Some specifications are "approved for inclusion in a future standard". Note that the MUMPS Development Committee cannot guarantee that such future standards will indeed be published.

This page most recently updated on 29-Nov-2011, 22:30:57 .

For comments, contact Ed de Moel (demoel@jacquardsystems.com)