Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Recoving PDS member's timestamp

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
Author Message
suchita_thorat

New User


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

PostPosted: Tue Jun 30, 2009 10:47 am    Post subject: Recoving PDS member's timestamp
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
References
prino

Active User


Joined: 07 Feb 2009
Posts: 225
Location: Oostende, Belgium

PostPosted: Tue Jun 30, 2009 11:02 am    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 5384
Location: italy

PostPosted: Tue Jun 30, 2009 11:13 am    Post subject: Reply to: Recoving PDS member's timestamp
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: 6466
Location: Brussels once more ...

PostPosted: Tue Jun 30, 2009 11:31 am    Post subject:
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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1