View previous topic :: View next topic
|
Author |
Message |
dilson joseph
New User
Joined: 18 Apr 2008 Posts: 6 Location: pune
|
|
|
|
I want to retrieve the last 30 datasets that I've browsed with the date of visit. Is there any function which can list the name of the datasets. What actually I want to do is to list the last 30 datasets that I have browsed with the date and time of the visit and to select the one I need and browse it. I want to enable this function with a particular key so that when I press that key it will display the panel with list of datasets.
dilson |
|
Back to top |
|
|
UmeySan
Active Member
Joined: 22 Aug 2006 Posts: 771 Location: Germany
|
|
|
|
Hi !
You have to do this by your own. There is no command for that. Means, you have to write a little rexx for that. Store the DSN's you browse or edit in an ISPF table.
Regards, UmeySan |
|
Back to top |
|
|
acevedo
Active User
Joined: 11 May 2005 Posts: 344 Location: Spain
|
|
|
|
try
|
|
Back to top |
|
|
UmeySan
Active Member
Joined: 22 Aug 2006 Posts: 771 Location: Germany
|
|
|
|
Hi acevedo !
Thank's, you just teached your grandma to su** eggs.
Seams that i'm showing ageing phenomena.
Have a nice day & Regards, UmeySan |
|
Back to top |
|
|
dilson joseph
New User
Joined: 18 Apr 2008 Posts: 6 Location: pune
|
|
|
|
ok thank u for ur reply,
i will just try this one and get back to u. |
|
Back to top |
|
|
acevedo
Active User
Joined: 11 May 2005 Posts: 344 Location: Spain
|
|
|
|
RefList is created by the system (Last 30 referenced data sets) but you can create/edit/delete others lists by invoking REFOPEND (or using File # 707 Customize ISPF 3.4 dataset lists according to users).
;) |
|
Back to top |
|
|
dilson joseph
New User
Joined: 18 Apr 2008 Posts: 6 Location: pune
|
|
|
|
actually we can get the list of all the 30 datasets we have visited from ispf reflist option that is true. i was just trying if we are able to make a rexx program thru which if i click on any particular functional key from any where, directly it will show us the list of datasets in the panel we have made and then we can select the dsn we want. since i m new in it i m finding it very difficult to code but have the logic with me written down. i do not know what i have to search or where, i went thru all most all the post inside rexx and clist more over i was trying the manual also but found it little difficult because i do not have the begining point so that i can start searching in the manual. so i was totally lost and then posted this topic for help. |
|
Back to top |
|
|
acevedo
Active User
Joined: 11 May 2005 Posts: 344 Location: Spain
|
|
|
|
I think the key is ISRPLIST google to find more information but I think it was something like:
the lists are store in a ispf table ISRPLIST, open (tbopen) isrplist and read (tbscan) using "arglist(zcurtb)" where zcurtb=reflist, I think they are populated in dsapet01, dsapet02... and so until dsapet30.
hth |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
I think Acevedo was right about DSLIST REFLIST.
I do not think you need to write a rexx program. Use the KEYS command to manually set your PF key definition to be DSLIST REFLIST.
Then you can:
* issue FKA ON to show PF keys.
* double click on your PK key and you will get the list of datasets.
* double click on a dataset name and you will get a list of possible actions.
* double click on an action, such as 'EDIT'.
I use PCOMM with preferences set to use PF keys as hotspots and to press "ENTER at cursor position".
Actually, you can just set your PF key to be just DSLIST... might be more flexible.
The original post asked about date and time... if really needed, you would need to write your own routine and Acevedo already gave a good starting point. |
|
Back to top |
|
|
|