Example

Assume that the employee table contains columns RESUME, HISTORY, and PICTURE and that locators have been established in a program to represent the column values. In a COBOL program, free the CLOB locator variables LOCRES and LOCHIST, and the BLOB locator variable LOCPIC.

  EXEC SQL 
  FREE LOCATOR :LOCRES, :LOCHIST, :LOCPIC
  END-EXEC.