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
the command:
or shortcutsOLIST @H
OH
andOLH
.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
@L (for
last
). You can use this symbol in any input field requiring a data set name, or in a command, like this:EDIT @L
You enter the @H symbol like this:
-DSC- Data Set Utility
Option ===>
A Allocate new data set C Catalog data set
R Rename entire data set U Uncatalog data set
D Delete entire data set S Short data set information
blank Data set information V VSAM Utilities
ISPF Library:
Project . . INTT125 Enter "/" to select option
Group . . . / Confirm Data Set Delete
Type . . . .
Other Partitioned, Sequential, VSAM Data Set or @H (history list):
Data Set Name . . . @H
Volume Serial . . . (If not cataloged, required for option "C")
Data Set Password . . (If password protected)
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.
-DSC- ------------------------ DATA SET HISTORY ------------ Row 1 to 23 of 55
COMMAND ===> SCROLL ===> CSR
To select a data set place the cursor on selected line and press ENTER or
use the S line command. You can overtype a line to alter your selection.
Use Find <string> (case sensitive) and RFind to search for an object name.
Press the END key to exit without selection.
DATA SET NAME ACCESSED
- ------------------------------------------------------ --------------
'IMS.V9RQ.OLP14' 08:59 18/02/05
'IMS.V9R1.OLS04' 08:59 18/02/05
'IMS.V9R1.OLP04' 08:59 18/02/05
'IMS.V9R1.OLS04' 08:59 18/02/05
'IMS.V9R1.OLP04' 08:59 18/02/05
'IMS.V9RX.OLS04' 08:59 18/02/05
'IMS.V9RS.OLS04' 08:59 18/02/05
'IMS.V9RC.OLS04' 08:59 18/02/05
'IMS.V9RC.OLP04' 08:59 18/02/05
'IMS.V9RQ.OLS14' 08:59 18/02/05
'IMS.V9RQ.OLP14' 08:59 18/02/05
'IMS.V9RP.OLS14' 08:59 18/02/05
'IMS.V9RP.OLP14' 08:59 18/02/05
'IMS.VARG.OLS04' 08:59 18/02/05
'IMS.VARG.OLP04' 08:59 18/02/05
'IMS.V410.GENLIBA' 08:59 18/02/05
'SYS1.AIATMAC' 08:59 18/02/05
'SYS1.AHASMAC' 08:59 18/02/05
'SYS1.AERBMAC1' 08:59 18/02/05
'SYS1.ADFMAC1' 08:59 18/02/05
'SYS1.ACUNMAC' 08:59 18/02/05
'SYS1.ABDTMAC' 08:59 18/02/05
'SYS1.AADFMAC1' 08:59 18/02/05
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.