× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: Finding the right member in a MMF
  • From: "Al Barsa, Jr." <barsa2@xxxxxxx>
  • Date: Mon, 19 Jun 2000 18:37:18 -0400

At 02:42 PM 06/19/2000 -0500, you wrote:

Problem/Question:
I need to write a CL can search through a multiple member file for certain string, and then copy that member to a work  file for editing.  My idea was to have the CL accept the string as a PARM, find the member that contains the string, retrieve the member name, and then do a CPYF from that member name.

I've tried FNDSTRPDM, but I can't figure out how to merely retrieve the member name, and nothing else.  All I need is the member name that contains the string.

Any advice/experience with this problem would be appreciated.
You're on the right track.

Use FNDSTRPDM OPTION(*PRT),

Then go into a loop receiving the EDT0238 messages, deleting the spooled files.

Al




+--------------------------------------------------+
| Please do not send private mail to this address. |
| Private mail should go to barsa@ibm.net.         |
+--------------------------------------------------+

Al Barsa, Jr. - Account for Midrange-L
Barsa Consulting, LLC.  
400 > 390

Phone:          914-251-1234
Fax:            914-251-9406
http://www.barsaconsulting.com
http://www.taatool.com

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.