• Subject: Re: List Files
  • From: John Earl <johneARL@xxxxxxxxxx>
  • Date: Sat, 28 Mar 1998 10:56:11 -0800
  • Organization: Lighthouse Software

John,

You can do it easily in CL with the DSPOBJD command.

DSPOBJD OBJ(Lib/Ob*) OBJTYPE(*ALL) OUTPUT(*PRINT)

Alternately, you could specify OUTPUT(*OUTFILE) and have the names dropped into 
a
file that you can read later.

jte

John Hall wrote:

> Still working on the RISC conversion ....
>
> I need a way to retrieve the names of all objects in a certain library
> that start with a generic string
>
> ie : GR*
>
> This is leftover S36 code where the program did a catalog to a disk file
> and then scanned the disk file.
>
> I found the QUSLOBJ API but a) not having used the user space API's
> before & b) Working in ILE-C for the first time is tough
>
> any help will be greatly appreciated
>
> --
> John L. Hall
> Home Sales Co.
> +---
> | This is the Midrange System Mailing List!
> | To submit a new message, send your mail to MIDRANGE-L@midrange.com.
> | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator: david@midrange.com
> +---



--
John Earl Lighthouse Software Inc.
8514 71st NW Gig Harbor, WA 98335
253-858-7388 johnearl@lns400.com

Without Lighthouse Network Security/400, your AS/400 is wide open.
--




+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


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.