Get info of files in IFS using SQL

Since 7.3 TR7 and 7.4 TR1 is it now possible to get info of files in the IFS using SQL. This with the new IBM i Service IFS_OBJECT_STATISTICS table function.

With this is it possible from and RPG program using embedded SQL to get info of files in IFS based on needed selection criterias and apply logic to deal with them. 

SQL Example

Detailed information of this IBM i Service can be found on IBMs site here