To access IBM i files using the Native SQL interface:
From an IBM i 5250 emulator, run the STRSQL command to start an interactive SQL session, as shown below.
Press F4 to see a list of SQL functions that you can select.