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

To check whether a particular line no is present


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
pnkumar
Warnings : 2

New User


Joined: 27 Oct 2005
Posts: 24

PostPosted: Wed Mar 08, 2006 6:26 pm
Reply with quote

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

Active User


Joined: 01 Mar 2006
Posts: 290
Location: Basel, Switzerland

PostPosted: Thu Mar 09, 2006 6:55 pm
Reply with quote

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
View user's profile Send private message
pnkumar
Warnings : 2

New User


Joined: 27 Oct 2005
Posts: 24

PostPosted: Thu Mar 09, 2006 8:34 pm
Reply with quote

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

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Thu Mar 09, 2006 8:42 pm
Reply with quote

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

Active User


Joined: 01 Mar 2006
Posts: 290
Location: Basel, Switzerland

PostPosted: Thu Mar 09, 2006 8:44 pm
Reply with quote

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
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 -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
No new posts rewrite same SAY line CLIST & REXX 8
Search our Forums:

Back to Top