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
 

 

LMMLIST usage

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: LMMLIST usage
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: 8593
Location: Back in jolly old England

PostPosted: Fri Mar 26, 2010 12:22 pm    Post subject:
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: 2429
Location: Netherlands, Amstelveen

PostPosted: Fri Mar 26, 2010 1:52 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10232
Location: italy

PostPosted: Fri Mar 26, 2010 1:53 pm    Post subject: Reply to: LMMLIST usage
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: 8593
Location: Back in jolly old England

PostPosted: Fri Mar 26, 2010 2:00 pm    Post subject:
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: 2429
Location: Netherlands, Amstelveen

PostPosted: Fri Mar 26, 2010 2:04 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10232
Location: italy

PostPosted: Fri Mar 26, 2010 2:09 pm    Post subject: Reply to: LMMLIST usage
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    Post subject:
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: 2429
Location: Netherlands, Amstelveen

PostPosted: Fri Mar 26, 2010 2:27 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10232
Location: italy

PostPosted: Fri Mar 26, 2010 6:25 pm    Post subject: Reply to: LMMLIST usage
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

Senior Member


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

PostPosted: Fri Mar 26, 2010 7:33 pm    Post subject: Reply to: LMMLIST usage
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    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 How can amount of the Storage Usage b... esduman61 CICS 6 Wed Mar 09, 2016 1:19 pm
No new posts Controlling usage of resources by tasks raja1128 CICS 3 Fri Nov 06, 2015 9:53 am
No new posts TDQ & its usage as ATI akodakka CICS 3 Sat Oct 17, 2015 6:04 pm
No new posts XPED - When command usage anand1204 Compuware & Other Tools 3 Tue Sep 15, 2015 12:50 am
No new posts Usage of NETRC for FTP step in JCL Vineetha_123 JCL & VSAM 3 Fri Jul 17, 2015 3:24 pm


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