× 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 there any way to have that spool to a splf?     
 
-----Original Message-----
From: Scott Klement <midrange-l@xxxxxxxxxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Sent: Thu, 20 Apr 2006 11:41:54 -0500 (CDT)
Subject: Re: IFS Display like DSPLIB



You might consider trying the QShell command:

    find /path/to/dir -ls

(replace "/path/to/dir" with the directory you'd like information on.  It 
lists the inum, size in kb, permissions, linkcount, owner, group, size in 
bytes, modivication date, and path name.

You can write the results to a file using the > redirection operator.

You can run it from a CL program using the STRQSH command.

For example:

STRQSH CMD('find /QIBM -ls > /tmp/dirrpt.txt')

Here's a sample of the type of data you get back (sorry about the 
wrapping):

     75              9 drwxr-sr-x    7 QSYS       0 
8192 May 25  2003 /qibm
     78             25 drwxr-sr-x   19 QSYS       0 
24576 Apr  3  2005 /qibm/ProdData
    923              9 drwxr-sr-x    3 QSYS       0 
8192 May 25  2003 /qibm/ProdData/GUIPlugin
   1468              5 drwxr-sr-x    2 QSYS       0 
4096 Feb 24  2001 /qibm/ProdData/GUIPlugin/Install
     99             29 drwxr-sr-x   38 QSYS       0 
28672 Apr  3  2005 /qibm/ProdData/OS400
    929              5 drwxr-sr-x    2 QSYS       0 
4096 Feb 24  2001 /qibm/ProdData/OS400/DHCP
    926              9 drwxr-sr-x    2 QSYS       0 
8192 Apr  3  2005 /qibm/ProdData/OS400/RPC
  22609              1 -rwx---r-x    1 QSYS       0 
205 Nov 30  2003 /qibm/ProdData/OS400/RPC/netconfig
    932              9 drwxr-sr-x    3 QSYS       0 
8192 Apr  3  2005 /qibm/ProdData/OS400/dlfm
  23010             29 -rwx---r-x    1 QSYS       0 
28916 Nov 30  2003 /qibm/ProdData/OS400/dlfm/dfmadmin
   1007              9 drwxr-sr-x    2 QSYS       0 
8192 Apr  3  2005 /qibm/ProdData/OS400/dlfm/MRI2924
  73123             23 -rwx---r-x    1 QSECOFR    0 
22993 Aug  5  2003 /qibm/ProdData/OS400/dlfm/MRI2924/dlfm.cat
  22539            390 -rwx---r-x    1 QSYS       0 
398384 Nov 30  2003 /qibm/ProdData/OS400/perpl.zip
    935              9 drwxr-sr-x    2 QSYS       0 
8192 Apr 16 01:29 /qibm/ProdData/OS400/DRDA
  23030              1 -rwx------    1 QSYS       0 
105 Nov 30  2003 /qibm/ProdData/OS400/DRDA/qrwhold.file
150722              0 srwxrwxrwx    1 QSECOFR    0 
0 Apr 16 01:29 /qibm/ProdData/OS400/DRDA/endSock
   1950              9 drwx--S---    2 QTCP       0 
8192 Nov 21  2004 /qibm/ProdData/OS400/REXEC
    941              9 drwxr-sr-x    2 QSYS       0 
8192 Apr  3  2005 /qibm/ProdData/OS400/INETD
  23933              1 -rwx---r-x    1 QSYS       0 
611 Nov 30  2003 /qibm/ProdData/OS400/INETD/inetd.conf
  23935              2 -rwx---r-x    1 QSYS       0 
1729 Nov 30  2003 /qibm/ProdData/OS400/INETD/inetdtemp.conf
    977              9 drwxr-sr-x    3 QSYS       0 
8192 Apr  3  2005 /qibm/ProdData/OS400/NetworkAuthentication
  26409              3 -rwx---r-x    1 QSYS       0 
2912 Nov 30  2003 /qibm/ProdData/OS400/NetworkAuthentication/krb5.conf
  29387             13 -rwxr-xr-x    1 QSYS       0 
12333 Sep 19  2000 /qibm/ProdData/OS400/NetworkAuthentication/skrbdll.cat
  29392              5 -rwxr-xr-x    1 QSYS       0 
5069 Sep 19  2000 /qibm/ProdData/OS400/NetworkAuthentication/skrbkut.cat
  72701              9 drwxr-sr-x    2 QSYS       0 
8192 Apr  3  2005 /qibm/ProdData/OS400/NetworkAuthentication/MRI2924
  73185             16 -rwx---r-x    1 QSYS       0 
15897 Aug  5  2003 
/qibm/ProdData/OS400/NetworkAuthentication/MRI2924/skrbdll.cat
  73186             12 -rwx---r-x    1 QSYS       0 
11712 Aug  5  2003 
/qibm/ProdData/OS400/NetworkAuthentication/MRI2924/skrbkut.cat
    986              9 drwxr-sr-x    2 QSYS       0 
8192 Apr  3  2005 /qibm/ProdData/OS400/NetStationRmtController
  26422              2 -rwx---r-x    1 QSYS       0 
1587 Nov 30  2003 
/qibm/ProdData/OS400/NetStationRmtController/LoadList.file
    938              9 drwxr-sr-x    3 QSYS       0 
8192 Apr  3  2005 /qibm/ProdData/OS400/Fonts
  23891              3 -rwx---r-x    1 QSYS       0 
2694 Nov 30  2003 /qibm/ProdData/OS400/Fonts/psfonts.map
  23895             71 -rwx---r-x    1 QSYS       0 
72443 Nov 30  2003 /qibm/ProdData/OS400/Fonts/qimginit.ps

---
Scott Klement  http://www.scottklement.com


On Thu, 20 Apr 2006, fbocch2595@xxxxxxx wrote:

> Hi, I'd like to see a report of all the objects in a single IFS directory and 
all its subdirs.
>
> I've used CALL PGM(QSRSRV) PARM(METRICS '/mydir/mysubdir') but I get a single 
report for each directory.
>
> Should I run a SAV to *print or does anyone have anything like a dsplib to 
*print for the IFS.
>
> Thanks, Frank
>
>
> -- 
> This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
> To post a message email: MIDRANGE-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/midrange-l
> or email: MIDRANGE-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/midrange-l.
>

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.