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

LMMLIST usage


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

New User


Joined: 23 Oct 2006
Posts: 13

PostPosted: Fri Mar 26, 2010 12:14 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri Mar 26, 2010 12:22 pm
Reply with quote

Unfortunately I believe that the members will be listed in alphabetical order only.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Fri Mar 26, 2010 1:52 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Fri Mar 26, 2010 1:53 pm
Reply with quote

should not be that difficult to add two comparisons for a date range !
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri Mar 26, 2010 2:00 pm
Reply with quote

And of course you have to rely on ISPF stats being set to on.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Fri Mar 26, 2010 2:04 pm
Reply with quote

Hello expat,

of course. The TS will know that or will find only blanks.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Fri Mar 26, 2010 2:09 pm
Reply with quote

until somebody resets the statistics icon_smile.gif providing completely useless info
Back to top
View user's profile Send private message
ramvivek

New User


Joined: 23 Oct 2006
Posts: 13

PostPosted: Fri Mar 26, 2010 2:14 pm
Reply with quote

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
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Fri Mar 26, 2010 2:27 pm
Reply with quote

Build a table with membername, date changed and sort it on the date.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Fri Mar 26, 2010 6:25 pm
Reply with quote

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
View user's profile Send private message
Pedro

Global Moderator


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

PostPosted: Fri Mar 26, 2010 7:33 pm
Reply with quote

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
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 STEM usage in REXX CLIST & REXX 14
No new posts SRCHFOR with LMDLIST or LMMLIST TSO/ISPF 7
No new posts z/OS Modules Usage report using SMF 42 DFSORT/ICETOOL 2
No new posts Concatenate 2 fields (usage national)... COBOL Programming 2
No new posts JCL and TAPE drives: how to maximize ... JCL & VSAM 9
Search our Forums:

Back to Top