Datasets can be displayed or modified in two ways:
Through ISPF Primary Option Menu Panel, "1" for View and "2" for Edit.
Through Dataset List Utility - 3.4 (Option 4 under Utility Selection Panel) as mentioned in previous section. By entering "b" or "v" or "e" to the left side of Dataset or Member name, Browse, View, Edit Options can be invoked respectively.
ISPF allows TSO users to access datasets in three distinct modes under 3.4 Option:
Browse Mode is read only mode that allows the users to go through the contents of the dataset but does not allow the user to make any changes (Option "b").
Edit mode allows the user to modify the dataset and save the changes. Various features that can be used while editing a dataset are discussed further in this material (Option "e")
View mode allows the contents to be modified on a temporary basis, but restricts the changes from being saved. This feature is highly effective when the user wants to have a feel of changing the contents but is not interested in changing the contents. This is also helpful when a user wants to selectively view the contents of the dataset with advanced ISPF features like "EXCLUDE" but does not want to hold an exclusive lock on the dataset. The important consideration here is that View has a feature of saving data after changes but this feature need to be used very judiciously as data integrity is at stake. You need at least Read Access to use the view option (Option "v")
List of members in a PDS can be viewed / edited by using "V" or "B" or "E" before the dataset name.
Type "V" in line command and Press Enter.
New screen will open and list the PDS member.
To allocate a new member or edit the member in a PDS, option "E" can be used before the PDS name and Member name should be enclosed in bracket at the end.
For example, if you want to allocate a member "TEST" in RACFID.TEST.PDS
Type "E" in line command and add member name at the end of PDS within bracket.
Then Press Enter. Below screen will open then press Enter again.
New memeber will be opened in edit mode.
If you have any doubts or queries related to this chapter, get them clarified from our Mainframe experts on ibmmainframer Community!