IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Recoving PDS member's timestamp


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
suchita_thorat

New User


Joined: 22 Feb 2008
Posts: 11
Location: Pune,India

PostPosted: Tue Jun 30, 2009 10:47 am
Reply with quote

Hi,

We have created one REXX tool for one of the work request, this tool search though the members of the PDS for particular string, if string found then it replace it with other string i.e. it update/change the member only when it finds the search string.

I run this tool on PDS,however after running the tool we lost timestamps of all the members in that PDS icon_sad.gif

Only the members which are changed have timestamp.

E.g. PDS --> G52409.TEST.TEST1
Members-->MEM1
MEM2
MEM3

Suppose MEM1 has search string and updated by tool, it has updated timepstamp for MEM1 accordingly.

However we lost timestamps of MEM2 and MEM3.

We need these timestamp back,it is important for us.

Any idea what can I do/try to get back?

Thanks in advance.

Thanks & Regards,
Suchita
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1306
Location: Vilnius, Lithuania

PostPosted: Tue Jun 30, 2009 11:02 am
Reply with quote

If they're, they're gone. If you're lucky you might get back an older version of the PDS via HSM.

Next time test your tool on a scratch PDS and make sure it has no side effects, or use something like pdsupdte that doen't touch timestamps and is a hell of a lot faster than anything you code in REXX.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Jun 30, 2009 11:13 am
Reply with quote

Quote:
however after running the tool we lost timestamps of all the members in that PDS



the tool design overlooked some details, and/or was not properly tested for unexpected side effects...

but, You just complained, without giving anything to advice You on...
( that' s an hebit much too common around here )

as a general point...

allocate / execio will create members without ispf statistics
if You want to keep the ISPF statistics You should
- use and edit macro
- use the LM.... ISPF functions retrieving and later on rewriting the ISPF statistics
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Jun 30, 2009 11:31 am
Reply with quote

Maybe the stats were not there to start with, and by performing updates it is you that have generated the stats for those members that have changed.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts To get the count of rows for every 1 ... DB2 3
No new posts Insert system time/date (timestamp) u... DFSORT/ICETOOL 5
No new posts Timestamp difference and its average ... DB2 11
No new posts How to copy the -1 version of a membe... TSO/ISPF 4
No new posts Searching for a member but don't know... TSO/ISPF 6
Search our Forums:

Back to Top