jhonga wrote:Rakesh kotha wrote:jhonga :
There is a command to export those attributes of files to a dataset.
Go to 3.4, Give the alias name you want to search on. Then use " SAVE LIST" in command line. This will save the attributes of all those datasets listed in 3.4 to a flat file called "ID.LIST.DATASETS" where ID is your TSO ID.
Hi Rakesh,
I've just tried it out and the result is simply amazing!
Thank you!
Another short cut for =3.4 is ISPF command DSLIST. DSLIST and 3.4 are same thing.
Examples:
dslist 'userid.*' will show all your data sets if you have the slash in / Include Additional Qualifiers. If the slash is not there will show all userid.name, such as userid.cobol, userid.exec, etc.
dslist with no parameter will show Personal Data Set Lists for Append panel, this is for reference list in ISPF, great way to keep track of data sets and it will also show REFLIST. ISPF maintains the last 30 data sets you have edited viewed and I think browsed
dslist COBOL with no quotes will show your USERID.COBOL - ISPF will automatically append you userid as the first high level qualifier
Once your are on the dslist panel press the PF1 (Help) and it will show you all the line and primary commands you can use from DSLIST (3.4). I never use 1 View
or 2 Edit. I always use dslist and have reference list setup to work with data sets. Much easier and you odn't have to keep flipping around in the panels, can do everything from dslist (3.4)
If you want to create Reference list, do this from DSLIST (3.4)
1. Type RA beside the data set and press Enter
RA USERID.COBOL
USERID.COPYLIB
USERID.JCL
2. Type in a name for the List Name . . .if you want to learn more press PF1 (Help), describes reference list
3. Press enter and the reference list is created
4. Type dslist the name you put in step 2 and it will bring up the data sets you added to the reference list in step 2
The great thing about reference list is you can have different First level qualifiers in the list and be looking at them in DSLIST (3.4) at the same time
like this
QMF810.SDSQEXCE
USERID.COBOL
SYSFAN.REXXLIB
The ISPF primary command APPEND also does the same thing from DSLIST (3.4). Example append 'some data set'
or just type APPEND and the Personal Data Set Lists for Append panel will be displayed and you can choose from that
And always remember the PF1 (Help) key is a good friend on ISPF