This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
I am am also trying to use the download tool to FTP file down from mainframe. However, type=a directive seems to be ignored. File gets FTPed down encoded in EBCIDIC, with all line feeds stripped out. I can then read the file back in using an Input Data tool with Code Page set to "IBM EBCIDIC - U.S./Canada". That solves the encoding problem ( content is *kind of* readable) , however, everything is on one line.
I recently ran into this issue, and found this old thread that got me close. I however found that I can use SFTP (which is more secure anyway), and it returns the file in the correct format, ASCII not EBCDIC and with the necessary carraige returns/line feed. This is an example of what the request looks like:
I also have a very basic workflow that accomplishes this task. If you're here from Ford, it has to be on port 222 not 22, and you need the dataset name in single quotes and proceeded by two forward slashes.