![]() |
M Modify File/Library element/Jobvariable
The contents of the data object (File/Job variable/Library element) flagged with the Action Code D (Display) is released for modification. If the data object is marked with an M as Action-Code, the M command is implicit. For files and Job variables, the modification takes place immediately after a data transfer key is pressed. With library elements, the modifications are only carried out after terminating the Modify mode.
Modify Mode is switched off with the NM (No Modify) command.
In general, sequential and PAM files can only be modified in 1 to 1 mode by the CFS Editor. Extended editing functions are available for ISAM files. These are described in the section entitled "Editing ISAM files of any format". Sequential files can also be edited using these extended editing functions in ISAM format. More about this on page 8-.
Notes:
The Delete key AFG may not be used when modifying files using the CFS Editor, since all the data displayed on screen will shift.
When modifying in hexadecimal mode, data may also be entered in character format.To do so, enter the required character in the first half byte. Insert a blank in the second half byte.
Example: To enter the character 'F' (X'F6'), the original value of CA in this position can be replaced by F_ .
Lowercase letters can also be entered using this technique. LOW Mode must be switched on.
It should be noted that, in contrast to EDT, existing lowercase characters in CAP mode are displayed as such; Entered lowercase characters are converted to uppercase.
In contrast to earlier versions of CFS, the following character conversion in CAP mode does not take place in CAP mode on German keyboards:
'{' ( 'ä' ) --> '[' ( 'Ä' )
'|' ( 'ö' ) --> ' ' ( 'Ö' )
'}' ( 'ü' ) --> ']' ( 'Ü' )
To shorten Job variables, LOW mode (see above) must first be switched on. The data to be erased from the Job variable (to the right of the relevant data) is then overwritten with the null character.
When modifying ISAM files, the positions from the end of the record to the end of the screen are padded with overwritable null characters. The records can thus be extended beyond their original length by overwriting these null characters.
Shortening a record by padding with the null character is not possible.