DeleteAllItems Method (DATASET)


10.8, PLBCMP GUI Only

 

The DeleteAllItems method deletes and frees memory for all data items in a DATASET. This method uses the following format:

 

[label]

{object}.DeleteAllItems

[GIVING {return}] USING [USING [*Flags=]{flags}]]

 

Where:

label

Optional. A Program Execution Label.

object

Required. A DATASET object previously declared.

return

Optional. A Numeric Variable that always returns a zero value.

flags

Optional. A Numeric Variable, decimal number, or Numeric expression that defines a bit mask value that is used to control DeleteAllItems method behaviors.

Flags Affected: EOS, OVER, ZERO

Notes:

  1. The EOS flag is always cleared.

  2. The ZERO flag is always set TRUE.

  3. The OVER flag is always cleared.

  4. The {flags} bit mask value is implemented for future usage.

  5. This method does not generate any errors.

 

 

See Also: Method Syntax, DATASET Methods



PL/B Language Reference