Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

ANSI to UTF-8 using mainframe COBOL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
Vishwamurthy

New User


Joined: 11 Mar 2008
Posts: 57
Location: India

PostPosted: Thu Jun 21, 2012 6:21 pm    Post subject: ANSI to UTF-8 using mainframe COBOL
Reply with quote

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
View user's profile Send private message

Vishwamurthy

New User


Joined: 11 Mar 2008
Posts: 57
Location: India

PostPosted: Thu Jun 21, 2012 6:43 pm    Post subject:
Reply with quote

I found NATIONAL-OF and DISPLAY-OF functions, but they don't work on my mainframe COBOL installation..
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8057
Location: East Dubuque, Illinois, USA

PostPosted: Thu Jun 21, 2012 7:31 pm    Post subject:
Reply with quote

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
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Jun 21, 2012 7:44 pm    Post subject:
Reply with quote

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
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Jun 21, 2012 7:45 pm    Post subject: Reply to: ANSI to UTF-8 using mainframe COBOL
Reply with quote

Ooops. . . .

One should not get interrupted after starting a reply. . . icon_rolleyes.gif

d
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Cobol GUI (like Editor) Kala Mainframe COBOL Programming 14 Wed May 10, 2017 12:30 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm
No new posts SNMP trap from Mainframe bipinpeter Compuware & Other Tools 6 Wed Apr 26, 2017 3:05 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us