× 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: Brad McDaniel <BMCDANIEL@xxxxxxxxx>
  • Date: Tue, 20 Jun 2000 08:45:38 -0500

I like the suggestions about using *PRT, and then copying the spooled file to a file for processing, but the MMF I'm trying to do a FNDSTRMBR on is a data file, not a source file, and *PRT is not allowed with a data file.  I got this message in the joblog:
 
  2700 - FNDSTRPDM STRING('0000423987') FILE(ACHBTRNPF) MBR(*ALL)
  OPTION(*PRT *NOPROMPT)                                        
Find string option *PRT is not allowed for data physical files. 
Error while processing the FNDSTRPDM command.                   
 
Back to the drawing board...
-----Original Message-----
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

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 ...


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.