HI,
i have created a savefile on my AS/400 which i want to send to my local PC. Please tell me how to do this?Tell me both FTP and form the AS/400 screen as well. I am confused..plz help..regards
Software/Hardware used:
iseries,V5R4
ASKED:
March 4, 2010 2:21 PM
UPDATED:
March 9, 2010 1:48 AM
Hi,
do DSPSAVF(F4) , enter name and lib of your savf andgive *PRINT against option OUTPUT. Then go to navigator and open printer output all spool files will come there, right click on it and and send to notepad.it come to your pc.
If you want or need to use FTP vs drag-drop enter bin and change the FTP to binary mode before doing your get/put.
With FTP, you always want BINARY for the transfer type as DanD mentioned. You do not want your savefiles to be processed through a TEXT conversion from EBCDIC to ASCII nor the reverse.
As with copying savefiles as streamfiles, it’s best to reference them with a .SAVF extension. If you use NAMEFMT 1, your AS/400 will recognize the extension and can provide some help. In particular, if you say PUT MYSAVF.SAVF in a Windows FTP, then the FTP server on your AS/400 can automatically create the savefile for you named MYSAVF; it’s not necessary for you to create a savefile ahead of time if the extension is .SAVF and you’re running under NAMEFMT 1.
Tom