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



Thanks to all for the input:

Yes ACS and Run SQL Scripts does fix the issue.
I actually did a CAST on PATH_NAME and got the expected result as well, going to put this in a CL with a RUNSQL.
Yes I could create a stored procedure and execute the statement from there without a CAST.

from: "Birgitta Hauser" <Hauser@xxxxxxxxxxxxxxx>
subject: RE: IFS_OBJECT_STATISTIC what am I dong wrong/missing

You are not missing anything ... except you are running the statement with STRSQL!
STRSQL is stabilized since Release V4R5 (not a typo!) all newer enhancements in SQL are NOT supported.
Install ACS (IBM i Access Client Solutions) and run the SQL Statement with "Run SQL Scripts"

Mit freundlichen Gr??en / Best regards

Birgitta Hauser
Modernization ? Education ? Consulting on IBM i Database and Software Architect IBM Champion since 2020

"Shoot for the moon, even if you miss, you'll land among the stars." (Les
Brown)
"If you think education is expensive, try ignorance." (Derek Bok) "What is worse than training your staff and losing them? Not training them and keeping them!"
"Train people well enough so they can leave, treat them well enough so they don't want to. " (Richard Branson) "Learning is experience ? everything else is only information!" (Albert
Einstein)

-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Monty G. James
Sent: Friday, 1 March 2024 16:21
To: 'midrange-l@xxxxxxxxxxxxxxxxxx' <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: IFS_OBJECT_STATISTIC what am I dong wrong/missing

When I do:
SELECT PATH_NAME FROM TABLE
(QSYS2.IFS_OBJECT_STATISTICS(START_PATH_NAME => '/tmp/.com_ibm_tools_attach', SUBTREE_DIRECTORIES => 'YES', OBJECT_TYPE_LIST => '*DIR'))

I get this:
PATH_NAME
*POINTER
*POINTER
*POINTER
*POINTER
*POINTER
*POINTER
*POINTER
*POINTER

When I do:
WRKLNK OBJ('/tmp/.com_ibm_tools_attach/*') DETAIL(*EXTENDED) DSPOPT(*ALL)

I get this:
Object link Type
. DIR
.. DIR
132 DIR
133 DIR
135 DIR
136 DIR
137 DIR
15 DIR
7100 DIR

Why am I getting *POINTER instead of the directory name?

Thanks,
Monty

________________________________

This email message, including any attachment(s) is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is strictly prohibited.
If you are not the intended recipient, please immediately contact the sender by email.

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.midrange.com_mailman_listinfo_midrange-2Dl&d=DwICAg&c=AY-yVZ-DdqDeX_Emj_gQCkuxsL_QuG_4YQ-FxcTYVkY&r=3HmdsZESHvzaTBSHTdB6CStwTAVF1kiyCWu3SC-2oh0&m=1BxJx5Us-u8YeB_QAF3eSfsVOBeQziRLguuf-ldkkgmrrNKhJu4Z-xcXj-VNH3Ha&s=ErtXG6Fs8T57tL-ZSz7MjwG0RyOPcctmxdUggcfiD7k&e=
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at https://urldefense.proofpoint.com/v2/url?u=https-3A__archive.midrange.com_midrange-2Dl&d=DwICAg&c=AY-yVZ-DdqDeX_Emj_gQCkuxsL_QuG_4YQ-FxcTYVkY&r=3HmdsZESHvzaTBSHTdB6CStwTAVF1kiyCWu3SC-2oh0&m=1BxJx5Us-u8YeB_QAF3eSfsVOBeQziRLguuf-ldkkgmrrNKhJu4Z-xcXj-VNH3Ha&s=AQ53u2tSR-09ZhAkOAG0cV5-h5lgEYnfdDZDaGjKVfk&e= .

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.




------------------------------

Subject: Digest Footer

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) digest list To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.midrange.com_mailman_listinfo_midrange-2Dl&d=DwICAg&c=AY-yVZ-DdqDeX_Emj_gQCkuxsL_QuG_4YQ-FxcTYVkY&r=3HmdsZESHvzaTBSHTdB6CStwTAVF1kiyCWu3SC-2oh0&m=1BxJx5Us-u8YeB_QAF3eSfsVOBeQziRLguuf-ldkkgmrrNKhJu4Z-xcXj-VNH3Ha&s=ErtXG6Fs8T57tL-ZSz7MjwG0RyOPcctmxdUggcfiD7k&e=
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at https://urldefense.proofpoint.com/v2/url?u=https-3A__archive.midrange.com_midrange-2Dl&d=DwICAg&c=AY-yVZ-DdqDeX_Emj_gQCkuxsL_QuG_4YQ-FxcTYVkY&r=3HmdsZESHvzaTBSHTdB6CStwTAVF1kiyCWu3SC-2oh0&m=1BxJx5Us-u8YeB_QAF3eSfsVOBeQziRLguuf-ldkkgmrrNKhJu4Z-xcXj-VNH3Ha&s=AQ53u2tSR-09ZhAkOAG0cV5-h5lgEYnfdDZDaGjKVfk&e= .

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.



------------------------------

End of MIDRANGE-L Digest, Vol 23, Issue 191
*******************************************

________________________________

This email message, including any attachment(s) is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is strictly prohibited. If you are not the intended recipient, please immediately contact the sender by email.


⚠ This email is from an external address. Exercise caution when following links or opening attachments. ⚠

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.