View previous topic :: View next topic
|
Author |
Message |
Sysaron
New User
Joined: 28 Sep 2005 Posts: 55 Location: USA
|
|
|
|
Hi all,
Does anyone know of a way using COBOL to create a difference between an ALPH O and a number 0, such as forcing a dot in the middle, or a slash thru the zero when it is printed?
Thanks so much for any advice! |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
1. Anything you do in COBOL could be negated by the printer used.
2. Have you looked at the various code pages available to see if any of them sufficicently distinguish zeroes and ohs? |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
Well, on your Cobol Coding Sheet, you put a vertical line through one or the other (varied from site-to-site).
I don't get it. Where is it difficult for someone to tell the difference? If you are talking about printed output, then there is a character-set: for that - talk to your technical people about what is available, and how to use it.
For a 3270-Emulator you should have some "Fonts" that you can select from.
Neither will really be anything to do with a Cobol program. For the character-set, you'll do it on the SYSOUT. For the Emulator, they'll all need re-initialising with a new default. |
|
Back to top |
|
|
Sysaron
New User
Joined: 28 Sep 2005 Posts: 55 Location: USA
|
|
|
|
Hi again,
I am talking about where someone would have difficultly disstinguishing the difference on a printed form. In this case I am printing a bill that you must use a pin# in order to pay it. The pin# is on the bill and can have both numeric zero and alpha o, Like 2T6OYU. The customers are now afraid that the bill payers will not distiguish the zero from the 'O'. If there is a "character set" that my 'Technical people" would know more about, I would like to find more info about it. Thank so much in advance. |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
So ask them. The answer is yes. If there isn't one currently that has a bar in it (I'd expect on the zero), they can set one up. You're still going to have to tell the bill-payer which is which, if it is genuinely difficult to tell between the normal characters. Generally, the 0 is more "pointy" and the O "fatter". Just like I've just typed. If they are very similar when printed on the bills, putting a line through and saying nothing won't help.
An alternative is to not use them both.
I can't really remember the last time I had trouble distinguishing the two (on any type of computer output), so maybe never seen it. On other things, yes, but not from computers. Curious that you've managed to get a problem.
Is the problem really that someone is assuming the bill-payers are just dumb?
Are they going to use a keyboard to enter the PIN#? The keys, either on-screen of physical, have to have the same shape as the characters on the bill.
I think it's a waste of time doing what you want, but it can be done, and it is quite easy. It will not affect your Cobol program. |
|
Back to top |
|
|
prino
Senior Member
Joined: 07 Feb 2009 Posts: 1306 Location: Vilnius, Lithuania
|
|
|
|
A zero with a slash is useless in Denmark, Norway and a few more countries, where it may be confused with the slashed O.
And how would Tom, Dick or Harry know that a dotted zero is a zero and not just a dotted O?
Simply do not use 0 and O, the 1,544,804,416 possible 6-character combinations should be enough anyway. |
|
Back to top |
|
|
Sysaron
New User
Joined: 28 Sep 2005 Posts: 55 Location: USA
|
|
|
|
Thanks for all the info. Unfortunately I am truely forced to use both zero and 'O' for this project by my customers, for whatever reason.
And yes, my customers/users feel that the bill payers need to be told that you must enter '1' before entering the area code of a phone number as well.
I think I will get the COM-Xerox peopel to figure out a good character-set for the form/bill.
Thanks again! Bye. |
|
Back to top |
|
|
Ed Goodman
Active Member
Joined: 08 Jun 2011 Posts: 556 Location: USA
|
|
|
|
In a pinch, you could use lower case O, so that at least it would look that much different. |
|
Back to top |
|
|
|