Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
cobol:how to display french character

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
kalukakkad

New User


Joined: 10 Mar 2005
Posts: 81

PostPosted: Tue Sep 05, 2006 7:58 pm    Post subject: cobol:how to display french character
Reply with quote

I need to display ? in my output file...can anybody tell me how can this be done...
Back to top
View user's profile Send private message

cristalclearwaters

New User


Joined: 21 Aug 2006
Posts: 13

PostPosted: Wed Sep 06, 2006 8:35 pm    Post subject:
Reply with quote

As long as your receiving field is PIC X you should be able to move the capital E with an accent to your output file. The hex value is '71' in EBCDIC. Or I was able to just cut and paste the value from here onto my mainframe emulator.

Hope that helps.
Back to top
View user's profile Send private message
DavidatK

Active Member


Joined: 22 Nov 2005
Posts: 700
Location: Troy, Michigan USA

PostPosted: Wed Sep 06, 2006 10:03 pm    Post subject: Re: cobol:how to display french character
Reply with quote

I think the ability to print '?' is dependent upon the font set a particular shop is using. x'71' is an unprintable char in our shop.

dave
Back to top
View user's profile Send private message
cristalclearwaters

New User


Joined: 21 Aug 2006
Posts: 13

PostPosted: Wed Sep 06, 2006 10:48 pm    Post subject:
Reply with quote

When I am looking for a particular character, I reference a member in one of my libraries. In that member I turned hex on and typed every combination in hex and hit enter. Like:
AAAAAAAAAAAAAAA
0123456789ABCDEF

77777777777777777
0123456789ABCDEF

Then I could see what characters were available in my shop.
Back to top
View user's profile Send private message
vijayakumar.yellala

New User


Joined: 19 Apr 2006
Posts: 63
Location: Chennai

PostPosted: Fri Sep 08, 2006 10:52 am    Post subject:
Reply with quote

Hello kalukakkad,

using Alt+144 u can get "?" this special character in Notepad. then u can copy to output file.....

If i am worng, Correct me.....

Regards,
Vijay
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
This topic is locked: you cannot edit posts or make replies. Cobol to fetch the content by using s... arunc55 COBOL Programming 4 Fri Nov 17, 2017 1:25 pm
No new posts VBS and VB, COBOL syntax is the same ... natt.sut COBOL Programming 3 Sun Nov 12, 2017 6:36 am
No new posts COBOL - EXIT statement weird behavior anthony.pangestu COBOL Programming 0 Fri Oct 27, 2017 9:57 am
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts display the sign only if the value is... useit DFSORT/ICETOOL 3 Wed Oct 04, 2017 5:53 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us