Dir1/dir2/dir3/dir4/test.csv. How to retrieve the directory name in reverse order.
There is a huge number of records for which I have to get directory name in reverse order.
Method that uses less time is required.
Tried QSHELL Dirname that will output the STDOUT details to a database file.
Here only 1 record is written each time. I'm hitting eof when reading db file to reach the directory name.