|
Brad & Others who have answered this, Thanks for the very prompt replyies. I guess that is one good benefit of a very active mailing list! Folks are reading and responding on it 24 hours a day. Bottom line being that the trick is to do the CRTPF RCDLEN(528) and do the CAWin file xfer to that. Then use RPG pgm to copy the records to the savf and viola! It works. Just as a note, you can skip the crtpf and rpg pgm if you are using FTP. Just make sure the save file exists prior to the FTP, it has been cleared, and you do a binary transfer. You can then just restore from it. But, not everybody is on the TCP/IP bandwagon yet so I will file this in my bag of tricks! Thanks to all, Bob Crothers Cornerstone Communications -----Original Message----- From: Stone, Brad V (TC) [SMTP:bvstone@Taylorcorp.com] Sent: Tuesday, December 09, 1997 6:44 PM To: MIDRANGE-L@midrange.com Subject: RE: Getting SaveFile from PC World to the AS/400 via CA/Win Create a physical file on the 400 with a record length of 528. Copy the data from the PC into this file. Create a save file on the 400. Write a program to read from the physical and write to the save file. Restore. Done. Bradley V. Stone bvstone@taylorcorp.com http://prairie.lakes.com/~bvstone/ ---------- From: Bob Crothers Sent: Tuesday, December 09, 1997 5:36 PM To: bvstone Subject: Getting SaveFile from PC World to the AS/400 via CA/Win I sent a client a Save File via Internet Email. This save file was created on the AS/400 via normal methods (CRTSAVF & SAVOBJ). I then FTP'd down to the PC world. I can then FTP it back to another AS/400 and it works just fine (the trick is to create the save file first). I then Email'd the file from my PC via the Internet. My client does not have TCP/IP available so FTP is not an option. He is trying to use CAWin/95. When he does the file transfer, he gets a message that says "Not a Valid Database File". If he creates a plain old flat file (crtpf rcdlen(xxxx)), it transfers, but of course is no longer a save file so can not do a rstobj on it. My question being, What is the trick to getting this to work via CAWin? Unimportantly, starting TCP/IP on his as/400 is not an option. TIA Regards, Bob Crothers Cornerstone Communications +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to "MIDRANGE-L@midrange.com". | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to "MIDRANGE-L@midrange.com". | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to "MIDRANGE-L@midrange.com". | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.