![]() |
EDT [EDF] branch to EDT (F Mode)
EDT[n] [, file | lib( [t/] element [/vers] ) | * | D ]
Branch to the F mode of EDT (Return using the K1 key, or H[ALT]).
n The buffer of the specified EDT level is activated.
Standard: n = 0.
file The specified file is loaded into the EDT workfile.
lib( [t/] element [/vers] )
The specified PLAM library element will be loaded into the EDT workfile (§OPEN statement). PLAM elements saved in delta format cannot be processed.
* The file or library element marked with the Action Code '*' will be read into the EDT workfile.
D The file presently displayed by CFS is read into EDT.
Notes:
The user must take care to rewrite the file from EDT (EDT sataement @W (SAM file), or @SA (ISAM file)). An @FILE command with the name of the current file is suppressed by CFS.
Using EDT,* / EDL,* with library elements will automatically cause an Update to be offered by means of an ADD * when exiting EDT. This is because it is not possible to perform a direct rewrite with an EDT command with, for example, FMS/LMS/ISAM library elements.
Once set, EDT parameters such as LOWER ON, SCALE, etc. will remain valid for the entire CFS session. The same is true for the contents of all EDT workfiles, as well as the line and column positions of the individual EDT workfiles.
@RUN calls are possible as from EDT Version 16.1.
Non-standard files such as those with RECFORM=F or ISAM files with KEYPOS/ KEYLEN not equal to 5/8 can easily be edited. Manual assignment using the EDT linkname EDTSAM/EDTISAM is not necessary, as this will be provided by CFS.
Pressing the K1 key will return control to CFS.
Before leaving EDT, all current changes made to the screen contents must be executed with DUE1. K1 terminates EDT without regard to any outstanding amendments on the screen.
If QR mode is set (Query on Return), the user is asked after exiting EDT if the virtual EDT memory should be deleted (@D). QR mode is normally set, and can be reset with the NQR command.
The EDT command will call the ordinary version of EDT in Format mode. If in addition to EDT the TOM-TI editor is also available, the systems administrator can generate CFS such that the TOM-TI Editor can be invoked with the EDT/EDF command. In this case, there are a number of additional TOM-TI commands available (e.g. SORT/ COL/ REF/ DOC/ FETCH).
In Format mode of EDT, the user returns to CFS either by the EDT command HALT, or by pressing the K1 key. If the user gives the EDT HALT command, an additional option can be given (HALT cmd). This suffix is interpreted by CFS as a command by CFS, and is executed.
The commands EDT/EDF/EDL and the Action Codes EDT/ EDF/ EDL call two seperate copies of EDT in the user's data area.
The commands EDT/EDF/EDL use the same EDT data area.
The INTR-STXIT of EDT is not activated in CFS, i.e. the BS2000 command INTR has the same effect as the R[esume] command. This is different to calling EDT as a stand-alone program.: /EXEC $EDT.
If the Job Report function of CFS interrupts the user's EDT session, the original EDT screen can be restored after ending the Job Report (K1 key, END, N) by pressing the K3 key.