Hi guys
Now i want to get some data from a third partty into our as400 using sftp.
filenames have some randam generated conventions ex :- satyaadsdmonthtime,satyaadsdmonthtime
The bold part changes everytime
Currently we do this by using the getting the generic part
get satya*
putting it into an ifs and using dsplnk to store it into a file(where we get the whole file name)
then using the get command again this time get satyaadsdmonthtime we get the actual file
Are there any other way we can acheive this ?
the file name changes and thts my concern..
Now i want to get some data from a third partty into our as400 using sftp.
filenames have some randam generated conventions ex :- satyaadsdmonthtime,satyaadsdmonthtime
The bold part changes everytime
Currently we do this by using the getting the generic part
get satya*
putting it into an ifs and using dsplnk to store it into a file(where we get the whole file name)
then using the get command again this time get satyaadsdmonthtime we get the actual file
Are there any other way we can acheive this ?
the file name changes and thts my concern..
Comment