Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

I/O statements

&pagelevel(5)&pagelevel

When a file is read (@OPEN, @COPY, @XOPEN, @XCOPY, @READ, @GET statements), empty lines (lines of length 0) are treated as normal lines. In the past, empty lines were eliminated on reading and were therefore lost when files were written back.

In the @OPEN statement (format 1), TYPE=CATALOG is the default setting for existing DMS files. In the past, this setting was TYPE=SAM.

When an empty work file is written or written back, an empty file is created.

When writing or writing back to a file which has the file attribute SECONDARY-ALLOCATION=0, the attribute is evaluated, i.e. if necessary, the file is not extended and an error message is output.

If a file is open in a work file then the @WRITE statement without any operands is no longer rejected but is interpreted as @WRITE (format 1) and the file is written back.

The attempt to close a file (@CLOSE statement) or write back an existing file (@WRITE statement) may be rejected if the file has a character set other than that defined for the work file and the CODE has not been specified. In EDT V16.6B, this situation could only occur if the work file had been deleted and then reconstructed in another character set. In such cases, the file's character set was modified without any query being issued.

In the @XOPEN and @XWRITE statements, MODE=REPLACE now has the same effect as MODE=NEW if the file does not yet exist. In the past, the statements were rejected. The response is now the same as for the @OPEN and @WRITE statements.

The @READ and @GET statements can now be used to read files with nonstandard attributes.