Dear All,
To copy the output of the LIST command into new file (at remote server, i tried this,
===============================
IP ADDRESS
USER ID
PASSWORD
CD /Data/EXTERN
LS > file1
QUIT
===============================
Here, My aim is get the list of remote server (UNIX) file names from the EXTERN directory. There are total 3 files in EXTERN directory, so i should get total no. of files = 3 in file1. This file1 should get created in the same EXTERN directory. If the file1 would have been successfully created with the list of files, then i would have done FTP for file1 for the further process.
Thats what i have tried to execute from the Mainframe, but didn't get the expected result.
Please correct me where i went wrong.
Awaiting for u r suggestion.
Regards,
Nits