View previous topic :: View next topic
|
Author |
Message |
siva04408
New User
Joined: 23 Feb 2010 Posts: 11 Location: pune
|
|
|
|
Hi,
we r updating a pds member: read process write |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
what information?
pds member stats or data in member? |
|
Back to top |
|
|
siva04408
New User
Joined: 23 Feb 2010 Posts: 11 Location: pune
|
|
|
|
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 |
|
|
siva04408
New User
Joined: 23 Feb 2010 Posts: 11 Location: pune
|
|
|
|
member stats Brenholtz .like size changed date created date |
|
Back to top |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1788 Location: Bloomington, IL
|
|
|
|
As you ought to know, Kanna, the directory is maintained by ISPF, not by MVS. |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2546 Location: Silicon Valley
|
|
|
|
How are you 'updating'?
Use ISPF services to set ISPF statistics. |
|
Back to top |
|
|
siva04408
New User
Joined: 23 Feb 2010 Posts: 11 Location: pune
|
|
|
|
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 |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
|
|
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 |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
|
|
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 |
|
|
siva04408
New User
Joined: 23 Feb 2010 Posts: 11 Location: pune
|
|
|
|
Thanks vasanth, looks little hard, but will give a try.. |
|
Back to top |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
|
|
That's what she said :-) |
|
Back to top |
|
|
|