VMS Help  —  COBOL  PROCEDURE_DIVISION, READY
  The READY statement begins a database transaction, prepares one or more
  database realms for processing, and places each specified realm in a
  ready mode.

  Format -

   READY [ realm-name ] ...

      [               { { CONCURRENT }                     } ]
      [               { { EXCLUSIVE  }  [ { RETRIEVAL } ]  } ]
      [               { { PROTECTED  }  [ { UPDATE    } ]  } ]
      [ USAGE-MODE IS { { BATCH      }                     } ]
      [               {                 [ { CONCURRENT } ] } ]
      [               { { RETRIEVAL }   [ { EXCLUSIVE  } ] } ]
      [               { { UPDATE    }   [ { PROTECTED  } ] } ]
      [               {                 [ { BATCH      } ] } ]

      [ WITH WAIT ]

      [ ON ERROR stment ] [ NOT ON ERROR stment ]

      [ END-READY ]

1  –  realm-name

  names a subschema realm name.

2  –  stment

  is an imperative statement.
Close Help