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

cobol:how to display french character


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts Generate random number from range of ... COBOL Programming 3
Search our Forums:

Back to Top