ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

QSYS2.IFS_OBJECT_STATISTICS over mounted Folder

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • QSYS2.IFS_OBJECT_STATISTICS over mounted Folder

    Hi all
    i have a folder mounted over a Linux server ... if i try to access via WRKLNK, i can see all the subfolders andd files inside, instead if i try to access to this folder via
    SELECT PATH_NAME, OBJECT_TYPE FROM TABLE (
    QSYS2.IFS_OBJECT_STATISTICS(START_PATH_NAME => '/nascloud',
    SUBTREE_DIRECTORIES => 'YES') )​
    i don't see any entry ... where am i wrong ?
    Thanks in advance
    Gio

  • #2
    Hi,

    You're doing nothing wrong, the function just won't return any row from remote file systems, see docs

    No rows are returned for remote file system objects. This means that for the QNTC file system, only a row for /QNTC is returned. For the Network File System (NFS) and QFileSvr.400 file systems, no rows are returned.
    Nicolas

    Comment

    Working...
    X