We refer to different views of data as the display mode. File Manager® editor provides three different display modes for data stored in various resources:
Formatted/Table mode displays records in a table using a specified template or copybook. Each column in the table represents a field within the currently selected layout of the template being applied for the current edit session. This mode allows the user to view and manipulate records in a formatted manner. The typical usage of the formatted display mode is to manipulate binary data of types which are difficult to manipulate by hand.
Cursor: In character display mode, the editor displays the cursor (caret) position of the currently selected record. In table display mode, while in an edit session, the editor will display the cursor position at the selected column. The cursor position can also be set as follows:
Formatted/Table mode |
---|
![]() |
Character mode displays records in text format. The text displayed is derived from the binary data stored in the specified resource in the current edit session, and interpreted according to the encoding specified when the editor was invoked (in the Editor Options dialog). Character mode provides a user experience similar to that of a typical text editor, with a few aspects modified to suit the mainframe environment.
Character mode |
---|
![]() |
Because of the inherited restriction of what can be done to records stored in a resource on the z/OS® environment (e.g. record length, INPLACE edit, ordering etc), we provide a comprehensive indication when something is not valid according to the characteristics of the resource being edited. See the image below for an example. The image was taken during an edit session of a KSDS data set with INPLACE edit option.
Cursor: Displays the current cursor location within the currently selected record, and allows you to enter a location as a number to navigate the cursor to a specific offset in the record.
Note:The editor in character mode would not allow entering the line more than the defined record length.
In any case if this situation happens in case of copy/pasting records the dialog will shown indicating the Length error |
---|
![]() |
At this point, the user has the option to review the error(s) and can choose to do one of the following:
Single mode view allows you to edit and view one record at a time in one of the following modes:
The Single mode display is implemented as a view in Eclipse. You can open the view by selecting Window --> Show View --> Other.... Then select Single Mode Editor under the File Manager category.
The content of the Single mode editor is populated based on the selection in the File Manager® editor. If you have multiple edit sessions opened, then the currently active/selected editor's record will be shown in the view. Using the view, you can modify the values of the currently selected record.
Using the controls provided at the top of Single mode view, you can navigate to a record before/after the currently selected record. You can also switch between Single Mode, Dump Mode, Structured Mode and Unstructured Mode by selecting the option in the combo box.
Single Mode Display |
---|
![]() |
Dump Mode Display |
![]() |
Structured Mode Display |
![]() |
Unstructured Mode Display |
![]() |