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
 

 

To check whether a particular line no is present

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: To check whether a particular line no is present
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    Post subject:
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    Post subject: Re: To check whether a particular line no is present
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

Moderator Team Head


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

PostPosted: Thu Mar 09, 2006 8:42 pm    Post subject: Re: To check whether a particular line no is present
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Check if any Detail records and extra... V S Amarendra Reddy SYNCSORT 19 Mon May 08, 2017 8:54 pm
No new posts Record Not found in AlX but record re... mukun264 COBOL Programming 7 Fri Mar 24, 2017 9:28 am
No new posts Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm
No new posts Check Binary Values for symbols gandikk CA Products 3 Tue Mar 21, 2017 5:11 am
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am


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