Skip to content

ABAP Keyword Documentation →  ABAP − Short Reference 

TRUNCATE DATASET - Short Reference

Reference

Other versions: 7.31 | 7.40 | 7.54

Syntax


TRUNCATE DATASET dset AT {CURRENT POSITION}|{POSITION pos}. 

Effect

Sets the end of file of the file specified in dset to the position specified after AT.

Additions

  • CURRENT POSITION
    Sets the end of file to the current file pointer.
  • POSITION pos
    Sets the end of file to the position specified in pos.