Your Browser is not longer supported
Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...
{{viewport.spaceProperty.prod}}
Old statements for processing SAM and ISAM files
&pagelevel(3)&pagelevel
These statements for processing SAM and ISAM files are now only supported for reasons of compatibility. The statements listed in section “File processing” should be used in their place.
@ELIM | Deletes records in an ISAM file. If all the records are deleted then - unlike @UNSAVE – the file name remains present in the catalog. | F mode L mode |
@FILE | Supplies a file name as the default value for @GET, @READ, @WRITE (Format 2), @SAVE, @OPEN (Format 2) and @ELIM. It is also possible to predefine a file name that only applies to the current work file (explicit local @FILE entry), or a file name which applies to all the work files (global @FILE entry). | F mode L mode |
@GET | Fully or partially reads an ISAM file from disk or tape into the current work file. | F mode L mode |
@OPEN (Format 2) | Opens an ISAM file for processing directly on the disk. This file may already exist, may be created before being opened or be created as a copy of an existing SAM or ISAM file. It is only possible to open ISAM files for real processing in work file 0. This be empty or contain a file opened for real processing using @OPEN (format 2). | F mode L mode |
@READ | Fully or partially reads a SAM file from disk or tape into the current work file. | F mode L mode |
@SAVE | Fully or partially writes the content of the current work file as an ISAM file to disk. | F mode L mode |
@UNSAVE | Deletes a BS2000 file and the associated catalog entry. | F mode L mode |
@WRITE (Format 2) | Fully or partially writes the content of the current work file as a SAM file to disk or tape. | F mode L mode |