The following example spaces file FYLE forward 50 records.
SPACE(FYLE,50)
The following example spaces file FILEID a number of records and a direction given by the value of N. If an end-of-file condition occurs, the program continues execution with the statement associated with the label LEOF.
SPACE(FILEID,N) [LEOF]
The following example spaces file FILEID backward 3 records. A value is assigned to B indicating the success or failure of the spacing. If an end-of-file condition occurs, the program continues execution with the statement associated with the label LEOF.
B := SPACE(FILEID,-3) [LEOF]

