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.taatool.com
As an Amazon Associate we earn from qualifying purchases.
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.