IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Spanish Characters printed on the report


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ihatesugar
Warnings : 1

New User


Joined: 22 Oct 2006
Posts: 43

PostPosted: Thu Sep 18, 2008 7:19 pm
Reply with quote

Is there any feasible way in which I can have Spanish printed on the report?

We need to compose letter content in cobol program and then have it printed. Need your valuable inputs and suggestions...
Back to top
View user's profile Send private message
ihatesugar
Warnings : 1

New User


Joined: 22 Oct 2006
Posts: 43

PostPosted: Thu Sep 18, 2008 8:17 pm
Reply with quote

Moderator's need your help !!! Appreciate all your inputs
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Thu Sep 18, 2008 10:07 pm
Reply with quote

Hello,

Why would you believe that mentioning moderators less than an hour after your initial post would accomplish anything?

Quote:
We need to compose letter content in cobol program and then have it printed.
Probably an overly simple reply, but compose/write the letter in Spanish and print it.

If you have something else in mind, please clarify.
Back to top
View user's profile Send private message
ihatesugar
Warnings : 1

New User


Joined: 22 Oct 2006
Posts: 43

PostPosted: Thu Sep 18, 2008 11:59 pm
Reply with quote

Apology about mentioning it to Moderators, just that once you are stuck you tend to do weird stuff...

The current process has letters printed with Variable data flowing from COBOL program. Now we have some spanish char which need to flow down from COBOL program. How can this be done?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Fri Sep 19, 2008 12:26 am
Reply with quote

Hello,

Quote:
just that once you are stuck you tend to do weird stuff...
Yup, stuck, is a bad place to be. . . icon_smile.gif

Also, i read your topic, but did not pay attention to the subject. . . icon_redface.gif

To get the expanded characters, you might look into using utf-8.

Might there be a way to word the letter so that the standard alphabet could be used?
Back to top
View user's profile Send private message
ihatesugar
Warnings : 1

New User


Joined: 22 Oct 2006
Posts: 43

PostPosted: Fri Sep 19, 2008 12:29 am
Reply with quote

Yup thats what the plan now is to have the wording changed ... lets see if something new comes up .. thanks for your response...
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Sat Sep 20, 2008 9:30 am
Reply with quote

Hi Dick,

I've a hard time to understand this thread, I understand UTF-**, worked on report programs where I had to deal with French Characters..everything went fine. I'm sorry but I couldn't get what is being asked here in this thread, what help is required..& what does this
Quote:
we have some spanish char which need to flow down from COBOL program
mean ?

Please assist this poor guy.. icon_cry.gif
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Sat Sep 20, 2008 8:32 pm
Reply with quote

Hi Anuj,

Several languages (Spanish, Portugese, German among others) use "English" letters to construct words. Sometimes regular letters are used and sometimes these letters have some kind of accent mark (circumflex, umlat, grave, acute, etc) giving letters that look like ( â ä à á ã å ç ).

There are translator programs that do some of this, but they are not free.

I'm not aware of a way to parse a text document in application code and determine when to convert the characters to include the accent mark, so i mentioned re-wording or possibly using utf-8.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Sun Sep 21, 2008 2:47 am
Reply with quote

Hi Dick,

Thanks. It means, here he wants this coversion to happen in COBOL program itself ?
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Sun Sep 21, 2008 4:24 am
Reply with quote

I see, when I had to deal with French Letters then I was given "those strings" & their English equivalent and meanwhile google helped me. May be TS would like to seach on "english to spanish translation" in google, just a suggestion though.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Sun Sep 21, 2008 4:27 am
Reply with quote

Yup, but i know of no way to do this wholesale in COBOL.

Specific words might be handled. . .

Quote:
lets see if something new comes up

Is the text of the letter "constant"? If it is and the use of words/letters with accents is limited to those available in the regular collating sequence it may be possible.

How much of the letter text needs accent marks? Post a few examples and i'll see if i can put together a bit to see if it would work for you.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Sun Sep 21, 2008 5:08 am
Reply with quote

icon_confused.gif .. icon_confused.gif ..I posted my reply after your post Dick, it's been Shuffled..!!!
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Substring number between 2 characters... DFSORT/ICETOOL 2
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
No new posts Need help on formatting a report DFSORT/ICETOOL 14
No new posts Creating Report using SORT DFSORT/ICETOOL 7
No new posts Ca7 long running jobs report All Other Mainframe Topics 1
Search our Forums:

Back to Top