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

after updating pds member all other information vanishing


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

New User


Joined: 23 Feb 2010
Posts: 11
Location: pune

PostPosted: Wed Mar 07, 2012 3:47 pm
Reply with quote

Hi,

we r updating a pds member: read process write
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Wed Mar 07, 2012 3:49 pm
Reply with quote

what information?

pds member stats or data in member?
Back to top
View user's profile Send private message
siva04408

New User


Joined: 23 Feb 2010
Posts: 11
Location: pune

PostPosted: Wed Mar 07, 2012 3:50 pm
Reply with quote

Hi,

we r updating a pds member: read process write,but after that all other inf reg that member is vanishing...can anyone help us.
before updae:
Name Prompt Size Created Changed
aaaa#GO# 106 1998/12/01 2012/03/06 00:34:04
bbbbbbbb 39 2011/12/02 2012/03/06 00:34:55
KcccTcC2 44 2002/09/25 2012/03/06 00:35:01
dddTSDUP 83 2002/03/15 2012/03/06 00:35:29

after update:

Name Prompt Size Created Changed
aaaa#GO#
bbbbbbbb
KcccTcC2
dddTSDUP
Back to top
View user's profile Send private message
siva04408

New User


Joined: 23 Feb 2010
Posts: 11
Location: pune

PostPosted: Wed Mar 07, 2012 3:52 pm
Reply with quote

member stats Brenholtz .like size changed date created date
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Wed Mar 07, 2012 4:45 pm
Reply with quote

As you ought to know, Kanna, the directory is maintained by ISPF, not by MVS.
Back to top
View user's profile Send private message
Pedro

Global Moderator


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

PostPosted: Wed Mar 07, 2012 8:23 pm
Reply with quote

How are you 'updating'?

Use ISPF services to set ISPF statistics.
Back to top
View user's profile Send private message
siva04408

New User


Joined: 23 Feb 2010
Posts: 11
Location: pune

PostPosted: Thu Mar 08, 2012 9:54 am
Reply with quote

Pedro,

Updating in the sense writing back to the same member..using "EXECIO * DISKW OUT (STEM LINE. FINIS)".

Cn you give a little more guidence reg how to Use ISPF services to set ISPF statistics.
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Thu Mar 08, 2012 11:12 am
Reply with quote

Updating a member on a PDS through EXECIO does not update the ISPF statistics.
The statistics are a part of ISPF and updating the member through a program is not the same as an ISPF edit interface, so the stats of the member do not get updated.
You can use LMMSTATS to write member statistics manually.
Code:
/*REXX*/                                                           
DATAID_     = 'WELLS.PDS.NAME'                                 
MEMBER_     = 'WARCRAFT'                                             
VERSION_    = '01'                                                 
MODLEVEL_   = '00'                                                 
CREATED_    = '2011/02/28'                                         
MODDATE_    = '2011/02/28'                                         
MODTIME_    = '05:16:52'                                           
CURSIZE_    = '78'                                                 
INITSIZE_   = '78'                                                 
MODRECS_    = '0'                                                 
USER_       = 'USERIDWELLS'                                           
SCLM_       = 'OFF'                                               
ADDRESS ISPEXEC                                                   
"LMINIT DATAID(DATAID) DATASET('"DATAID_"') ENQ(SHR)"             
"LMOPEN DATAID("DATAID")"                                         
"LMMSTATS DATAID("DATAID") MEMBER("MEMBER_") VERSION("VERSION_")" ,
"MODLEVEL("MODLEVEL_") CREATED4("CREATED_") MODDATE4("MODDATE_")" ,
"MODTIME("MODTIME_") CURSIZE("CURSIZE_") INITSIZE("INITSIZE_")" , 
"MODRECS("MODRECS_") USER("USER_") SCLM("SCLM_")"                 
LMMSTATS_RC=RC                                                     
"LMFREE DATAID("DATAID")"                                         
SAY LMMSTATS_RC                                                   
EXIT


Hope it helps.

Edit: I meant to say that you can read the ispf statistics before updating the member and then manually write the statistics with LMMSTATS after the member update
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Thu Mar 08, 2012 11:23 am
Reply with quote

further edit:
Quote:
Edit: I meant to say that you can read the ispf statistics before updating the member and then manually write the statistics with LMMSTATS after the member update


not manually, its programmatically.
Back to top
View user's profile Send private message
siva04408

New User


Joined: 23 Feb 2010
Posts: 11
Location: pune

PostPosted: Thu Mar 08, 2012 11:31 am
Reply with quote

Thanks vasanth, looks little hard, but will give a try..
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Thu Mar 08, 2012 1:22 pm
Reply with quote

That's what she said :-)
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 Capturing Job Execution Information All Other Mainframe Topics 3
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
No new posts Looking For a PDS Member Without Open... PL/I & Assembler 10
No new posts Updating a 1 byte thats in occurs mul... DFSORT/ICETOOL 6
Search our Forums:

Back to Top