To view data stored in a supported data set, use the View Utility or the Edit
Utility.
The following instructions are given within the context of the
FMN editor. In most cases,
you can perform these actions in either Edit or View, in which case
the term "editor" is used. Similarly, the term "editor session" can indicate
either a View editor session or an Edit editor session.
Many of the tasks described in these topics require the use of templates. For more information,
see Creating and editing templates.
View Utility
The View Utility (option 1) allows you to view and temporarily change the data, but without the
ability to save any changes to the data set being viewed. Changes may be saved to a different data
set.
When you initiate the File Manager editor with the View Utility, this
is referred to as being in a "View editor session" (or just "View").
The view function, similar to ISPF view, provides an editor session that works essentially the
same as the Edit Utility, but without the need for exclusive access to the data set. It presents you
with an interface that is capable of holding your temporary changes to data. This may be useful, for
example, for assessing a change but without any risk of altering live data.
Note: If you have changed the data in a View editor session, even though you are not able to save
the changes back to the same data set you are viewing, you can save the changed data to
another data set (either existing or new, however MQ queues are not supported by these
commands) by issuing one of these primary commands:
APPEND
Appends specified records in the current editor session to another (existing) data set.
CREATE
Creates another (new) member or data set from specified records in the current editor
session.
REPLACE
Replaces another (existing) member or data set with specified records in the current editor
session.
SAVEAS
Saves the currently exposed data in the current editor session to another (new) member or data
set, and switches to an edit of the nominated member or data set.
The first time you make a change to the data in a View editor session, File Manager displays a warning as shown in Figure 1.
When you exit from a View editor session by pressing the Exit function key (F3), if you have made
a change to the data in the editor session, File Manager displays a
warning as shown in Figure 2.
Edit Utility
The Edit Utility (option 2) allows you to view and change your data (by inserting, deleting and
otherwise modifying records), and save any changes you make.
When you initiate the File Manager editor with the
Edit Utility, this is referred to as being in an "Edit editor session"
(or just "Edit").