×
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.
On 8/31/23 12:18 PM, Steve McKay wrote:
Bryan -
Is there a way to get a meaningful path and object name from your SQL?
Indeed. If I set up a new directory, "/foo," with a single stream file
in it, "bar," and try
select * from table (qsys2.ifs_object_statistics(
start_path_name => '/foo',
subtree_directories => 'NO' ) )
where Create_Timestamp > current_timestamp - 1 days
from a STRSQL session, on our V7R5 cloud box, I get:
PATH_NAME OBJEC00001
*POINTER *DIR
*POINTER *STMF
If I follow Patrik's idea, and start a QShell session on that same box,
CD to /foo, and do
find * -mtime -1
I get the expected result of
bar
But if I do the same thing on the box where I'll be wanting to look for
recently created files, I get:
find * -mtime -1
/QOpenSys/usr/bin/-sh: /QOpenSys/usr/bin/find: 0403-027 The parameter
list is too long.
$
regardless of whether I do it from QSH, or from CALL QP2TERM.
--
JHHL
As an Amazon Associate we earn from qualifying purchases.