View previous topic :: View next topic
|
Author |
Message |
ramvivek
New User
Joined: 23 Oct 2006 Posts: 13
|
|
|
|
From the manuals, I understand LMMLIST will give the details of members in the order of member name. Is there any way to change the order ? say Changed date ? I want to list the members which are changed in a particular date range. It would be easy if I can get the order in changed date. Please let me know how can I accomplish this.
Thanks,
Ram. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Unfortunately I believe that the members will be listed in alphabetical order only. |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
LMMLIST will only give the member names. So there will not be a
"changed date" value, for that you have to supply STATS(YES)
ZLMDATE contains the
last change date; a character value shown in your national format. If no
value exists for this variable, ISPF will set the value to blanks. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
should not be that difficult to add two comparisons for a date range ! |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
And of course you have to rely on ISPF stats being set to on. |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Hello expat,
of course. The TS will know that or will find only blanks. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
until somebody resets the statistics providing completely useless info |
|
Back to top |
|
|
ramvivek
New User
Joined: 23 Oct 2006 Posts: 13
|
|
|
|
hi, the PDS in concern is a production source library. So whenever a member is changed thru changeman, the stats are updated.
@ enrico sorichetti : the PDS is having a lot of members. Runing thru all members and comparing dates is taking a long time. I am looking to reduce the run time if I can get the order in changed date ( ZLMDATE ). |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Build a table with membername, date changed and sort it on the date. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
Quote: |
the PDS is having a lot of members. Runing thru all members and comparing dates is taking a long time. |
lot of members
long time
please quantify
never had elapsed time issues even for thousandts of members
having too many members will anyway cause performance issues,
ant things will get worse if the members have ISPF statistics, 6 entries per directory block only
even if You could have them in date order the PDS/E directory is kept in alphabetical order so anyway You/the tool would have to make two passes on the directory data
read in directory sequence in alphabetical order and then process,
the whining about lot of members/long time is just due to a poor understanding of PDS structure |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2546 Location: Silicon Valley
|
|
|
|
You have not mentioned which language is being used. But if you are complaining about performance, my guess is that you are writing in rexx. My suggestion is to use a compiled language instead.
Rexx is good for many things, but making many ISPF service calls is not one of them. |
|
Back to top |
|
|
|