Data set history facility (@H)
When an input field requires a data set name, you can call up a panel displaying a selection list of the last 100 data sets you referenced. To do this, enter the symbol @H in place of the data set name. @H is similar to the ISPF REFLIST function, but provides these advantages:
- Simpler access. Enter @H instead of the data set and select the data set to use from the history list. There is no need for Action Bar or command input.
- The list is automatically stored in reversed-access order so that recently referenced data sets are on top. The date and access time are shown.
- You can type over a data set to change your selection, or add or change member names.
- The list preserves member names specified along with data set names.
- You can open an OLIST containing the history list by entering
Thereafter, you can issue all the OLIST commands on the data sets listed.
- Directly invoke BROWSE, EDIT, or VIEW with the @H parameter, requesting display of the reference list rather than the standard Entry Panel.
- On any panel, directly specify the last data set referenced (that
is, the first item on the Data Set History List) using the symbol
last). You can use this symbol in any input field requiring a data set name, or in a command, like this:
You enter the @H symbol like this:
By default, the items are listed in descending access order. If a pattern or a member name was specified, that information is included in the item.
To select an item, type S next to it and press Enter, or simply put your cursor on the item and press Enter. Processing continues exactly as if you had typed the information in the input field.
You can also modify the name of the data set while selecting it, changing the entire data set name, or possibly adding or changing the member name.
You can use the Find and RFind commands to search for an object name.
If you know the name of the last accessed data set, you can use @L instead of @H to select the last referenced data set, bypassing the history selection list.