Therefore to list files in IFS folder, the following method can be adopted.
OVRDBF FILE(STDOUT) TOFILE(QTEMP/DIRLIST) OVRSCOPE(*CALLLVL) LVLCHK(*NO)
CD DIR('/<to required folder>')
QSH CMD('ls *.*')
You need to write a small CLLE code for this.
This blog is dedicated to all my friends who are still working on the AS/400 environment like myself.
OVRDBF FILE(STDOUT) TOFILE(QTEMP/DIRLIST) OVRSCOPE(*CALLLVL) LVLCHK(*NO)
CD DIR('/<to required folder>')
QSH CMD('ls *.*')