|
-----Original Message-----At 02:42 PM 06/19/2000 -0500, you wrote:
From: Al Barsa, Jr. [mailto:barsa2@ibm.net]
Sent: Monday, June 19, 2000 5:37 PM
To: MIDRANGE-L@midrange.com
Subject: Re: Finding the right member in a MMF
Problem/Question:You're on the right track.
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.
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-LBarsa Consulting, LLC. 400 > 390
Phone:914-251-1234 Fax:http://www.taatool.com914-251-9406
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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 copyright@midrange.com.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.