View previous topic :: View next topic
|
Author |
Message |
pnkumar Warnings : 2 New User
Joined: 27 Oct 2005 Posts: 24
|
|
|
|
HI ALL,
I have to check whether a line no is present in the member or not .
I can't open the member in view or edit mode and use the FIND macro to check that as i have to check for some hundresds of members.
Can anyone suggest some other option.
Thanks in advance.
pallavi |
|
Back to top |
|
|
martin9
Active User
Joined: 01 Mar 2006 Posts: 290 Location: Basel, Switzerland
|
|
|
|
make a loop over all those members,
you can use the ispf-service LMMLIST (member list),
if you have more than one library to search in,
you can concatenate all the libraries first with
an alloctae (tso-service).
if you have done so, use what you tried for one member,
just in a loop over this member list...
martin9 |
|
Back to top |
|
|
pnkumar Warnings : 2 New User
Joined: 27 Oct 2005 Posts: 24
|
|
|
|
martin9 Thank u for that,
Actually I have 206 members and in every member i have to check weather a particular sequence no(i.e line no) is present or not.
When i am doing it using TSO it is taking a lot of time to check .
so instead of doing it like that i need something wich could do it fast.
thank you,
pallavi |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
I don't know how big each member is, but I would think that a search through 206 members would take a matter of nano-seconds. |
|
Back to top |
|
|
martin9
Active User
Joined: 01 Mar 2006 Posts: 290 Location: Basel, Switzerland
|
|
|
|
hy pnkumar,
superk is right, 206 members are peanuts...
your problem is, your online session is blocked and
you have to wait for the result...
start your rexx by batch then you won't be blocked
and you are able to work on...
martin9 |
|
Back to top |
|
|
|