The u0005 user exit clears the type-ahead buffer.
result = oconv(’’, ’u0005’)
u5 u05
type-ahead command