create

CREATE [tablename] table statement used in this program

This rule is for Oracle dataservers.

Rule "create" gives this warning when it finds a CREATE statement for creating a new record. The Oracle dataserver does not write the record until the end of the transaction, you have to "post" the record using VALIDATE or RELEASE if you need to read the record before the transaction ends.

For example:

  Def buffer c for customer.
  Create customer.
  Assign custnum = 100.
  /* validate customer.*/
  Find first c where custnum = 100.  /* This will fail unless the validate is uncommented*/

How to suppress these warnings:

You can put directive {&_proparse_ prolint-nowarn(create)} directly before the CREATE statement.
See also: suppress warnings.