DELETE command use

Example 1—delete table generation

Delete generation -1 (one generation prior to the current generation) of the table TABLE01 on the tableBASE library identified by the DDNAME PRODLIB. The table is write-password protected.

DELETE LIB=PRODLIB TBL=TABLE01 GEN=-1 PSWD=BBBBBBBB;

Example 2—delete table and view

Delete TABLE01 and its associated View from the tableBASE library identified by the DDNAME PRODLIB. The table is write-password protected.

DELETE LIB=PRODLIB TBL=TABLE01 ALLGEN=YES PSWD=BBBBBBBB;
DELETE LIB=PRODLIB TBL=TABLE02 TTYPE=V;

Note:
Views are a function of tablesONLINE, an optional tableBASE component.