How to retrive a perticular string details from all the members of file using FNDSTRPDM

85 pts.
Tags:
CLLE
FNDSTRPDM
please send me an example program to retrive a perticular string details from all the members of file using FNDSTRPDM.
ASKED: April 10, 2008  12:24 PM
UPDATED: April 24, 2008  2:34 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hi,

Using FNDSTRPDM you can only find the string, there’s no way to retrieve the string using this command. You can print a list of the records that you find using the command.

Regards,

Martin Gilbert.

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • It doubts
    hi, i am having a pf in that pf contain many members, using display file i have to search a perticular string in all the members if it is found these matching records want to write into another file this is my requirement. in CL grogram how to do this? using FNDSTRPDM can we do that, please replay me if any other solution please send me with example.
    85 pointsBadges:
    report
  • TSCHMITZ
    One solution could be to : 1) Retrieve the list of members of your PF using DSPFD OUTPUT(*OUTFILE) TYPE(*MBRLIST) OUTFILE(yourlib/yourfile) 2) Declare this Outfile inside on CL with DCLF. 3) Read the file until eof 4) For each record : Override your Source PF to member (&MLNAME) 5) Run a RPGILE program that browse your member, and use %SCAN inside the single record fields to cehck matching.
    470 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following