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
 

 

Spanish Characters printed on the report

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: Spanish Characters printed on the report
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    Post subject: Reply to: Spanish Characters
Reply with quote

Moderator's need your help !!! Appreciate all your inputs
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 Sep 18, 2008 10:07 pm    Post subject:
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    Post subject: Reply to: Spanish Characters printed on the report
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

Site Director


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

PostPosted: Fri Sep 19, 2008 12:26 am    Post subject:
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    Post subject: Reply to: Spanish Characters printed on the report
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

Senior Member


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

PostPosted: Sat Sep 20, 2008 9:30 am    Post subject:
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

Site Director


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

PostPosted: Sat Sep 20, 2008 8:32 pm    Post subject:
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

Senior Member


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

PostPosted: Sun Sep 21, 2008 2:47 am    Post subject:
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

Senior Member


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

PostPosted: Sun Sep 21, 2008 4:24 am    Post subject:
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

Site Director


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

PostPosted: Sun Sep 21, 2008 4:27 am    Post subject: Reply to: Spanish Characters printed on the report
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

Senior Member


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

PostPosted: Sun Sep 21, 2008 5:08 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Splitting of single report to seperat... abdulrafi TSO/ISPF 7 Mon Mar 27, 2017 3:59 pm
No new posts Easytrieve report shalem CA Products 4 Sun Feb 26, 2017 9:08 am
No new posts Remove junk values in a file and rite... KP1125 DFSORT/ICETOOL 2 Wed Jan 25, 2017 9:58 pm
No new posts Detailed Transaction History report f... Kyle Carroll CICS 5 Tue Oct 18, 2016 12:42 am
No new posts Easytrieve - Report writing - Only 1 ... Abhi Nature CA Products 2 Wed Sep 14, 2016 11:40 am


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