Marist, TSO, and ISPF Guide

Table of Contents


Notice: Use of undefined constant section - assumed 'section' in /home/data/www/t90jfl1/public_html/benson_tso_guide/guide.php on line 31

3 Data Set

This section provides information on how to allocate and delete data sets. It also describes how to view all of a user's data sets.

3.1 Allocating a Data Set

Before you can start using any files, you must allocate them. Generally, on the mainframe, files are called data sets. Allocating a data set willl reserve space on the Marist system for your file. To do this, type 3.2 on the option bar at the ISPF Primary Option Menu. This will take you to the Data Set Utility screen.

data set utility screen

The Data Set Utilities screen is shown above. Here you will create your data set.

filling in the name of the data set to be allocated in the data set utility screen

Enter the name of the data set in the ISPF Library section. Generally it is best to follow the three level naming scheme. First should come your user id. Next should be the main name of the data set. Finally, use a name that describes the format of the data set. When you are ready to create the data set, type the letter a on the option line and press enter. The image above is an example of a file name for a data set.

filling out parameters for a new data set

Unless you have reason to use some other settings, we recommend the following allocation settings. These settings should be satisfactory for most data sets used in CSCI 640.

The Marist system may provide some of the data fields for you, probably for the Volume serial field. In this case, just use the defaults provided.

Volume =
Generic Unit =
Space Units = BLKS
Primary Quantity = 15
Secondary Quantity = 10
Directory Blocks = 0
Record Format = FB
Record Length = 80
Block Size = 2400
Expiration Date =

The Marist system will save these settings for you, so that you will only need to enter them once.

If you need any more information about the other fields in this screen, please refer to the appropriate IBM manual or ask your instructor.

If the Directory blocks field contains a number larger than zero, your new data set will be created as a Partitioned Data Set (PDS). A PDS can contain multiple files, but is a little harder to work with. For now, regular data sets are fine.

After you have typed in the appropriate settings, press enter to continue.

data set allocated confirmation message

There should be a message like this in the upper left corner of the Data Set Utilities Screen. This is a confirmation message telling you that the data set was succesfully created.

3.2 Listing Data Sets

To view a listing of all the data sets that you own, use the Data Set List Utility. On the ISPF main menu screen, type 3.4 in the option bar and press enter.

data set list utility screen, show all data sets for a specific user

The Data Set List Utility screen. Fill in your user ID in the Dsname Level field. This will tell the utility that you wish to view files that you own. The system will remember your entry, and you will not need to retype your user ID in the future. Leave the option line blank, and press enter.

result of a data set listing

This is one screen full of list results. If you have more results than can fit on a page, use the page down and page up buttons to scroll across results. The circled area on the left is the data set we created in the example above. The circled area on the right is the data set's volume location on the Marist system. It may be useful to know this information if you need to catalog a data set.

3.3 Deleting Data Sets

There are multiple ways to delete a data set. Two are explained below.

3.3.1 Deleting from the Listing

If you are still under the Data Set Listing (as explained above), you can delete a data set of your choice from this listing. This can also be useful if you have forgotten the name of the data set you wish to delete.

deleting a data set through the data set listing

Type the letter "d" in Command Column to delete the data set of your choice. Then press enter. The Confirm Delete message will then appear.

data set delete confirmation message

On this screen, press enter and the data set will be deleted.

3.3.2 Deleting from the Utilities Screen

If you already know the name of the data set you wish to remove, go to option 3.2 from the ISPF main menu screen.

deleting a data set through the data set utility

Type in the name of the Data Set in the appropriate fields, and enter the letter "d" in the option field. If you press enter, you will see a screen asking you to confirm the deletion.

confirmation message to delete a data set

If you press enter at the command line, the data set will be deleted.