SFTP and sending a file from the 400 to a unix system

105 pts.
Tags:
AS/400 to Unix
CPYTOSTMF
EDI
Exchange EDI
SFTP
Unix
I have set SFTP with EDS*elit VAN to exchange EDI. I can get the files no problem, but when I put the data on to their server (unix), they canno read the file. I am tried using CVTTOSTMF and CPUTOSTMF to get the data to the IFS and issue a put command. The files I get from them show up as CCSID 819 on the IFS so I created the file that I send the same way. They said they need a std ascii file. I tried that with the cpytostmf cmd but still they cannot read the file. any ideas on what could be going on will be of great help. I have been trying to the file to go through all week.

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hi,

If your file has CCSID=65535 the system will not convert it. If it’s your case you can:
1.- Change CCSID or
2.- Copy file to another with correct CCSID (used in your country)

Then you can use CPYTOSTMF or even direct FTP.

Regards,

Wilson

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

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

Forgot Password

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

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

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

Thanks! We'll email you when relevant content is added and updated.

Following