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



Is this interactive, batch, or do you need to use a program? If you have PDM, make a user option (I call it RQ) that is defined as

runqry () &L/&N

Do a WRKOBJPDM for that library, F17 to subset it for object type *FILE, attribute PF (to get only physical files)

When you get out to the list, position to the first file. Put RQ in the option field, press F13, and let 'er rip (I mean, press ENTER). This gets only the first member. If you want members, put a 12 on each file, F13 and ENTER. Then have a user option something like

runqry () &L/&F &N

Put RQ on the first member, F13, and ENTER 'til you're done.

If in batch or if you need a program, you'll want a DSPOBJD to an outfile, when you read an object that is a physical file, DSPFD TYPE(*MBRLIST) to an outfile (*ADD). Once the list is built up, walk through it with the RUNQRY command that also names the member.

There are other ways to get the list of members. QShell could be used, output from an FTP script overridden to a file could do it, etc.

HTH

Vern

At 10:16 AM 1/10/03 +0530, you wrote:
I want to find out the files starting frm DAACDT in the library DASORC,my
task is find the files and their names and do runqry on them..
How i can i find out this?any command iam nt getting suggest me
Murali






As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.