Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Empty work file

&pagelevel(4)&pagelevel

An empty work file is a work file which contains no records. This is generated when

  • EDT is started or

  • when the work file is completely deleted with @DELETE (Format 2), @DROP or other statements which implicitly execute a @DELETE (Format 2) or

  • in F mode, when all the lines are deleted with the statement code D or M or when all the lines are deleted with @DELETE (Format 1), @MOVE or @ON (Format 8 or 10).

In dialog operation, an empty work file can be recognized by the fact that it contains no records. In EDT procedures, it is possible to use the @IF statement (Format 3) to check whether a work file is empty.

It is possible to write an empty work file. In such cases, the character set configured for the work file may also be configured for the file depending on the operands set for the relevant statement.

The properties of a work file when EDT is started are indicated in the table in the preceding section. All the work file properties defined with the @PAR statement, with the exception of those explicitly listed below, are retained following a delete operation.

The table below collates the additional properties of a work file following deletion.

Properties

Values after deletion
with @DELETE (Format
2) or @DROP

Values after the deletion
of all the present
lines

General

Current character set for the
work file

*NONE

Not changed

Work file occupied (only for work
files 1 to 22)

None (apart from current)

Yes

Work file empty

Yes

Yes

Work file modified

No

Yes

Save file present

Save file deleted

Save file deleted

Line numbers

Current line number (symbolic
line number *)

1.

0 + Current increment
value

Current increment value

1.

Not changed

Lowest assigned line number
(display by means of @LIMITS)

0.0000

0.0000

Symbolic line number %

1.

==*

Highest assigned line number
(display by means of @LIMITS)

0.0000

0.0000

Symbolic line number $

1.

==*

Symbolic line number ?

0.0000

Not changed

Memory area
(Format 6)

Empty

Not changed

File processing

Link to file name

No link

Not changed

Link to open file

No link (implicit @CLOSE
executed)

Not changed (can be
revoked with @CLOSE)

Input

Unicode substitute character
including for data

Off

Not changed

Data window-specific representation

First line displayed in
data window 1

0.0000

0.0000

First column displayed in
data window 1

1

Not changed

First line displayed in
data window 2

0.0000

0.0000

First column displayed in
data window 2

1

Not changed

Other

Indicator for hits on last @ON for
@IF (Format 3)

Off

Not changed

Column for hits on last @ON for
@IF (Format 3)

0

Not changed