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
 

 

after updating pds member all other information vanishing

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: after updating pds member all other information vanishing
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    Post subject:
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    Post subject: ReXx after updating pds member all other informat vanishing
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    Post subject:
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: 1738
Location: Bloomington, IL

PostPosted: Wed Mar 07, 2012 4:45 pm    Post subject:
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

Senior Member


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

PostPosted: Wed Mar 07, 2012 8:23 pm    Post subject: Reply to: after updating pds member all other information v
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    Post subject: Reply to: after updating pds member all other information v
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: 1445
Location: Azeroth

PostPosted: Thu Mar 08, 2012 11:12 am    Post subject:
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: 1445
Location: Azeroth

PostPosted: Thu Mar 08, 2012 11:23 am    Post subject:
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    Post subject:
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: 1445
Location: Azeroth

PostPosted: Thu Mar 08, 2012 1:22 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Updating the counters after eliminati... PANDU1 DFSORT/ICETOOL 12 Mon Nov 21, 2016 9:47 am
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 6 Fri Nov 18, 2016 1:48 pm
No new posts Updating Cursor row withour using FOR... chandan.inst DB2 15 Tue Nov 08, 2016 11:17 am
No new posts Obtaining file information pahiker COBOL Programming 25 Tue Sep 27, 2016 7:25 pm
No new posts Updating online Db2 table kishpra DB2 3 Fri Aug 12, 2016 2:44 pm


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