Editing Sequential Files/Elements

Using the Modify command, all SAM files and sequential library elements may be modified on a byte by byte basis. Copying, deleting and inserting records, as well as inserting and deleting column ranges is not possible for SAM files in this mode. To achieve these extended editing operations, the sequential file/library element should first be converted to a temporary ISAM file. This is achieved with the IS command. The first should already be in Display mode (Action Code D).The IS command will automatically activate the Modify mode for the temporary ISAM file.

The temporary file can then be processed with any of the ISAM-specific commands described above.

Before leaving the CFS Editor (either via the LST or SAM command, or by pressing the K1 key), the temporary file will be converted back to its original format if the user answers Yes to the respective query. The temporary ISAM file will then be deleted. This automatic deletion can be suppressed by issuing a SAM,KEEP command.