Re-raise/-throw an error

Discussão em 'StackOverflow' iniciado por fdantas, Março 27, 2017.

  1. fdantas

    fdantas Administrator Moderador

    I want to "re-raise" an error after a NO-ERROR statement like this:

    FIND FIRST table
    WHERE table.ID = myID
    EXCLUSIVE-LOCK NO-WAIT NO-ERROR.

    IF (NOT AVAILABLE temp AND LOCKED temp) THEN
    /* Here I want to raise/throw the last error ("Raise ERROR:STATUS") */

    IF (NOT AVAILABLE table) THEN
    CREATE table.


    Is there such a statement in Progress?

    Continue reading...

Compartilhe esta Página