You can use the consoleLib.clearActiveForm() system function to clear the display buffers of all fields for the form currently stored in the consoleLib.activeForm system variable. The variables bound to those fields are not affected.
consoleLib.clearActiveForm( )