Sending *SAVF using e-mail attachment

If you've ever had a problem sending objects, transmitting your *SAVF via e-mail may be worth trying.

Did you never have the following problem? You need to send objects to another person located somewhere in the world...

but

  • your system has no SNADS link to the remote system

  • you don't really know whom you have to send your network file (which user-id you have to use)

  • they need urgently your *SAVF and cannot wait until you send a data cartridge to them

  • for security reasons you are not allowed to send files to them

  • it could be very expensive, depending how far the remote system is located

  • to create a link for only one purpose is too long and therefore too expensive

I have a solution.

Use e-mail to transmit your *SAVF

How does is work?

  1. Create the *SAVF you want to send

  2. Start a DOS session on your PC

  3. FTP your AS/400 using command: FTP + IP address (example FTP 172.17.5.45)

  4. Log on to the FTP server using your AS/400 user-id and password

  5. Enter command "BINARY" once you've got the ">FTP" prompt, telling the FTP server you want to transfer *SAVF data

  6. Use GET command to download the AS/400 *SAVF to your PC >FTP get libname/savfname C:TEMP.......

  7. Once the transfer is complete, check the size of the PC file you've just created. (Be aware that for file sizes greater than 2 MB you might get problems with the e-mail system.)

  8. Try to ZIP the PC file

  9. Use e-mail to send the *SAVF. (Don't forget to attach the PC file.)

To transfer the transmitted e-mail attachment to the AS/400
(These things have to be done by your e-mail recipient.)

Be sure to create the empty *SAVF on your AS/400 before uploading the PC document:

  1. Save the attached file to the PC

  2. Start a DOS session on the PC

  3. FTP the AS/400 using command : FTP + IP address (example FTP 172.17.7.78)

  4. Log on to the FTP server using AS/400 user-id and password

  5. Enter command "BINARY" once you've got the ">FTP" prompt, telling the FTP server you want to transfer *SAVF data

  6. Use PUT command to upload the PC file to the AS/400 >FTP put C:TEMP....... libname/savfname.SAVF

  7. Be sure to specify .SAVF as extension for the AS/400 object


This was last published in January 2001

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchEnterpriseLinux

SearchDataCenter

Close