Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to extract the last datasets that I've visited

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
dilson joseph

New User


Joined: 18 Apr 2008
Posts: 6
Location: pune

PostPosted: Tue Apr 29, 2008 12:28 pm    Post subject: How to extract the last datasets that I've visited
Reply with quote

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
View user's profile Send private message

UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 755
Location: Germany

PostPosted: Tue Apr 29, 2008 2:10 pm    Post subject:
Reply with quote

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
View user's profile Send private message
acevedo

Active User


Joined: 11 May 2005
Posts: 344
Location: Spain

PostPosted: Tue Apr 29, 2008 2:15 pm    Post subject:
Reply with quote

try

Code:
Dslist reflist
Back to top
View user's profile Send private message
UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 755
Location: Germany

PostPosted: Tue Apr 29, 2008 2:23 pm    Post subject:
Reply with quote

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
View user's profile Send private message
dilson joseph

New User


Joined: 18 Apr 2008
Posts: 6
Location: pune

PostPosted: Tue Apr 29, 2008 2:31 pm    Post subject:
Reply with quote

ok thank u for ur reply,
i will just try this one and get back to u.
Back to top
View user's profile Send private message
acevedo

Active User


Joined: 11 May 2005
Posts: 344
Location: Spain

PostPosted: Wed Apr 30, 2008 12:16 pm    Post subject:
Reply with quote

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
View user's profile Send private message
dilson joseph

New User


Joined: 18 Apr 2008
Posts: 6
Location: pune

PostPosted: Wed Apr 30, 2008 12:27 pm    Post subject: Reply to: How to extract the last datasets that I've visited
Reply with quote

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
View user's profile Send private message
acevedo

Active User


Joined: 11 May 2005
Posts: 344
Location: Spain

PostPosted: Wed Apr 30, 2008 12:52 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2033
Location: Silicon Valley

PostPosted: Tue May 13, 2008 5:22 am    Post subject: Reply to: How to extract the last datasets that I've visited
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Extract set of records matching on ac... bhaskar_kanteti DFSORT/ICETOOL 3 Mon Mar 06, 2017 7:19 am
No new posts DUMP DATASETS VS TRACE DATASETS! lind sh CICS 4 Tue Dec 06, 2016 11:31 pm
No new posts Single COPY CICS TS datasets and when... Kyle Carroll CICS 2 Tue Oct 11, 2016 9:47 pm
No new posts Finding unreferenced datasets without... Alan Playford JCL & VSAM 5 Tue Jul 12, 2016 9:07 pm
No new posts BDW in VB datasets harisukumaran JCL & VSAM 5 Sat May 28, 2016 9:46 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us