Skip to Content
Nov 24, 2020 at 02:13 PM

Getting latest File name from a linux folder for BODS


We have BODS installed on the Linux box, Also mounted a network drive folder "Geocoder".

I am trying to read the latest file from the folder using the EXEC command but not able to get the latest file name
Path : /usr/sap/sbop/dataservices/geocoder

Folder name: Geocoder
with 3 files: Test1.csv,Test2.csv,Test3.csv(latest)

Need to read Test3.csv into the global variable