Tip

Sending *SAVF using e-mail attachment

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 first published in January 2001

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
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
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.