View previous topic :: View next topic
|
Author |
Message |
Vishwamurthy
New User
Joined: 11 Mar 2008 Posts: 57 Location: India
|
|
|
|
Guys,
I need help converting a mainframe PS file into UTF-8 format before transmitting it through FTP to a vendor location.
Is there a way we can achieve it in COBOL?\
Thanks in advance,
Vish |
|
Back to top |
|
|
Vishwamurthy
New User
Joined: 11 Mar 2008 Posts: 57 Location: India
|
|
|
|
I found NATIONAL-OF and DISPLAY-OF functions, but they don't work on my mainframe COBOL installation.. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
Perhaps you should tell us which mainframe COBOL your installation has?
And why the insistence upon COBOL? Why not use an FTP translate table?
And why does your topic title say "ANSI to UTF-8" when you don't mention ANSI at all in your post? And what do you mean by "ANSI" -- did you mean to say "ASCII"? You DO know, I hope, that mainframes use EBCDIC as their native code page? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
I believe you can do what you want as part of the ftp.
Check into how you specify which code page to use for the receiving system. None of my clients have needed anything other than a "standard" transfer (EBCDIC / ASCII or ASCII / EBCDIC).
Possibly your network people can advise about specifics on your systems. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Ooops. . . .
One should not get interrupted after starting a reply. . .
d |
|
Back to top |
|
|
|