Mainframe FTP - wild card files?
Posted: Mon Jul 27, 2009 10:35 pm
We need to pick up several files with the same prefix and transfer the files from the server to mainframe via mainframe FTP.
I reviewed the FTP manual and do not see an option to wild card the files? Is there a command to handle this? Thanks.
Files in C:\file_folders
file1.txt
file2.txt
file3.txt
file4.txt
.......
I reviewed the FTP manual and do not see an option to wild card the files? Is there a command to handle this? Thanks.
Files in C:\file_folders
file1.txt
file2.txt
file3.txt
file4.txt
.......
/Step001 EXEC PGM=FTP
// PARM='server name (TIMEOUT 120, EXIT=8'
//SYSPRINT DD SYSOUT=*
//OUTPUT DD SYSOUT=*
//DDOUT1 DD DSN=XXXXX,DISP=OLD
//SYSIN DD *
user name
password
get c:\file_folders\file*.txt +
//DD:DDOUT1
quit
/*
// PARM='server name (TIMEOUT 120, EXIT=8'
//SYSPRINT DD SYSOUT=*
//OUTPUT DD SYSOUT=*
//DDOUT1 DD DSN=XXXXX,DISP=OLD
//SYSIN DD *
user name
password
get c:\file_folders\file*.txt +
//DD:DDOUT1
quit
/*