PDA

View Full Version : FNDSTRPDM



Guest.Visitor
01-01-1995, 02:00 AM
I am doing a search with the FNDSTRPDM and want to put my results in an outfile. I have read a comment on this forum where someone has done this--am I blind or where is the option to select outfile instead of a printed list?

Guest.Visitor
11-07-2000, 08:11 AM
On the find string, specify OPTION(*NONE) PRTMBRLIST(*YES)

Guest.Visitor
11-07-2000, 08:15 AM
Thanks Randy, but taking that gives me a printed list which is useful, but I also want the results in an outfile--QTEMP/INVLIST. What am I missing?

Guest.Visitor
11-07-2000, 08:25 AM
Diane - Create the file and then override QPUOPRTF to the file you created. HTH, Steve

Guest.Visitor
11-07-2000, 08:30 AM
You could specify a PDM user defined option for the OPTION paramater. Have the user defined option call a program with the paramater of &N (this passes the member name - &L is library, &F is file), and write them to your file.

Guest.Visitor
11-07-2000, 10:53 AM
Steve & Randy: Both suggestions were interesting. I tried the override QPUOPRTF trick and seems to be working just as needed. Thanks for the help! Diane