Just guessing extra runtime's needed following any "roots" to the next directory . . .
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Steinmetz, Paul
Sent: Wednesday, November 19, 2014 1:25 PM
To: 'Midrange Systems Technical Discussion'
Subject: RE: RTVDSKINF vs RTVDIRINF - what are the differences , is ther a better option?
Rob,
So it's basically a length issue.
RTVDSKINF field length for path is 63, DIFLPT, object name is 12.
RTVDIRINF field length for path is 1024, QEZDIRNAM1, object name is 512, QEZOBJNAM
Why the big difference in runtimes?
Paul
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of rob@xxxxxxxxx
Sent: Wednesday, November 19, 2014 3:01 PM
To: Midrange Systems Technical Discussion
Subject: RE: RTVDSKINF vs RTVDIRINF - what are the differences , is ther a better option?
Look at
SELECT * FROM syscolumns WHERE TABLE_NAME ='QAEZDISK'
You see any variable length character columns in there which can handle directory names like '/Domino/ApplicationServer/data/WesternHemisphere/UnitedStates/Michigan/MacombCounty'?
You see any variable length character columns in there which can handle names like 'AReviewofthebookLifeAndTimesOfJudgeRoyBean.doc'?
Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1 Group Dekko Dept 1600 Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com
From: "Steinmetz, Paul" <PSteinmetz@xxxxxxxxxx>
To: "'Midrange Systems Technical Discussion'"
<midrange-l@xxxxxxxxxxxx>
Date: 11/19/2014 02:46 PM
Subject: RE: RTVDSKINF vs RTVDIRINF - what are the differences , is
ther a better option?
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>
Rob,
If you take a closer look, RTVDSKINF loads complete Folder/Doc information, name, path, dates, size, etc.
For IFS STMF etc,, RTVDSKINF loads everything (date, size, owner) except name and path.
Could this be a bug?
Did anyone ever report this?
Is there a reason name and path are NOT loaded?
Object Library
Object
Parent Folder
Object Type STMF
Object Attribute
Object Size 8192
Text Description *NOLIB
Last Changed Century 1
Last Changed Date: format 140709
Last Changed Time 153031
Object Use Indicator 0-ye 0
Last Used Century 1
Last Used Date: format- y 140709
Last Used Time 114430
Object Status: 0-normal,
Object Owner JOHNS
Object ASP 00001
Folder Path
Paul
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of rob@xxxxxxxxx
Sent: Wednesday, November 19, 2014 1:47 PM
To: Midrange Systems Technical Discussion
Subject: Re: RTVDSKINF vs RTVDIRINF - what are the differences , is ther a better option?
Can you get this information from RTVDIRINF?
Licensed Internal Code
Temporary space
Can you get these breakdowns from RTVDIRINF?
Licensed Internal Code:
LIC and tables
Dump space
Error logs
Trace tables
VLIC logs
VLIC control blocks
As you noted, RTVDSKINF does NOT have any detail about individual stream file entries. So if you had directories like /DominoServers /OurFtpSite /home and more you couldn't summarize it by those directories.
Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1 Group Dekko Dept 1600 Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com
From: "Steinmetz, Paul" <PSteinmetz@xxxxxxxxxx>
To: "'Midrange Systems Technical Discussion'"
<midrange-l@xxxxxxxxxxxx>
Date: 11/19/2014 12:18 PM
Subject: RTVDSKINF vs RTVDIRINF - what are the differences , is
ther a better option?
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>
I have an AJS scheduled job, runs every day, only 5 minutes (SSD drives),
RTVDSKINF, followed by PRTDSKINF.
10 QSYS/RTVDSKINF
20 QSYS/PRTDSKINF RPTTYPE(*LIB) LIB(*ALL) OWNER(*ALL) FLR(*ALL)
OBJ(*NONE) OBJTYPE(*ALL) MINSIZE(0) SORT(*SIZE).
1) Creates a 14 page report, which is total system summary, all library
summary, IFS totals only, no details.
These are all kept, for system and library growth analysis.
2) QAEZDISK is loaded for any options that may need to be run from 4. Disk
space tasks 2. Print disk space information
3) This also will report any damaged object on the system.
I revisited the QAEZDISK file, there is actually an entry for every IFS
item, but no name, text description *NOLIB.
Object Library
Object
Parent Folder
Object Type STMF
Object Attribute
Object Size 8192
Text Description *NOLIB
I'm now considering similar logic for RTVDIRINF to get IFS detail info.
1) Why does RTVDIRINF take 2 hours instead of 5 minutes for RTVDSKINF?
2) If I run RTVDIRINF, do I really need RTVDSKINF?
3) RTVDIRINF doesn't replace the files, it creates new ones, so either
plan to manage these or delete before running.
4) Is there a better option?
Thank You
_____
Paul Steinmetz
IBM i Systems Administrator
Pencor Services, Inc.
462 Delaware Ave
Palmerton Pa 18071
610-826-9117 work
610-826-9188 fax
610-349-0913 cell
610-377-6012 home
psteinmetz@xxxxxxxxxx
http://www.pencor.com/
As an Amazon Associate we earn from qualifying purchases.