Marc's Place

 

E$DIR - Lists object's attributes

Start Command

e$dir [F4]

Call Parameters

do (a8)
Action to perform:
 
Value: *PRINT
This value instructs the program output the data to a SPOOL-file.
 
Value: *DISPLAY [default]
This value instructs the program to display the data on the screen.
 
lib1 (a10)
Name of a library where possible objects you are looking for or want to compare could be stored.
 
lib2 (a10)
Name of another library where possible objects you are looking for or want to compare could be stored.
 
lib3 (a10)
Name of another library where possible objects you are looking for or want to compare could be stored.
 
lib4 (a10)
Name of another library where possible objects you are looking for or want to compare could be stored.
 
lib5 (a10)
Name of another library where possible objects you are looking for or want to compare could be stored.

Return Parameters

*N/A

What it does

The calling parameters LIB1 thru LIB5 are optional. If you do not pass a value in them, E$DIR will use the present workfile it created with a previous selection.


E$DIR creates one workfile with object descriptions of all objects from all passed libraries. Libraries with lots of objects, like QSYS, take some time. So additional queries should be made without specifying the library name again so the workfile that is created already will be used again.


The following columns are output: Object library, Object name, Object type (*FILE,...), Object attribute (LF,PF,...), Object description, Century bit, Creation date (YY-MM-DD), Creation time (HH:MM), Created by user, Source library, Source file, Source member, Source change (YY-MM-DD).


Output is sorted like this:

Field   Sort order

Object name Ascending
Object type Ascending
Century bit Descending
Creation date Descending
Creation time Descending

By sorting the records descending on the date and time fields, the youngest object of the same name and type will be the first and the oldest will be the last:

Object
Library
---------
 
Name
---------- 
Type
--------- 
Attr
---- 
Description
----------------------- 
Creation
CCYY-MM-DD

---------- 
HH:MM
-----
QGPL QAFCPFDDTA *FILE PF SAMPLE DATABASE FILE 1 00-11-23 12:23
QGPL2 QAFCPFDDTA *FILE PF SAMPLE DATABASE FILE 0 99-10-13 10:05

Examples

Using the calling parameters:



Using some selection criteria. ODCCEN and CDAT are defaults, but can of course be overruled by erasing them and typing other field names:



Type a 2-digit year, month and date to show only those objects which were created since that date. Note that it's an alphanumeric field! We typed '02-02-01' which is February 1, 2002:




Go to download page
© 1997- Marc Vos (and others)   -   Privacy Statement   -    Contact Me

On this website, Google Analytics is used to track visitor statistics. These are anonymised data about the number of visitors, which pages they visit on this site, from which regions they visit, which web browsers they use, etc.. You will also see non-personalised ads via Google AdSense. Cookies from Paddle or Paypal are placed when you click on a 'Buy now!' or 'Donate!' button, and possible cookies from Disqus when you use that system to comment on one or more blogposts.
Privacy Statement