This is a discussion on Convert all Uppercase to lowercase - How? within the COBOL forums, part of the Programming Talk category; It is very simple question, Thing is I am new here... Please anyone among you tell me the function/procedure for ...
|
|||||||
|
|||
|
Convert all Uppercase to lowercase - How?
It is very simple question, Thing is I am new here... Please anyone among you tell me the function/procedure for converting uppercase to lowercase in Cobol.
Thanks to you all Regards, |
| Sponsored Links |
|
|||
|
Here's what I found for your problem, I hope these codes helps.
Quote:
|
|
|||
|
Hope this helps
Quote:
Quote:
|
|
|||
|
I don't have an answer to this, but an additional question. I'm trying to make part of a word(s) uppercase. For example, I am trying to take a title like 'editor i' and make it 'editor I'. I've tried using the following code, but when I run my program it doesn't do it.
INSPECT TITLE-DESCRIPTION OF WS-AREA REPLACING ALL ' i ' BY ' I '. INSPECT TITLE-DESCRIPTION OF WS-AREA REPLACING ALL ' ii ' BY ' II '. INSPECT TITLE-DESCRIPTION OF WS-AREA REPLACING ALL ' iii ' BY ' III '. INSPECT TITLE-DESCRIPTION OF WS-AREA REPLACING ALL ' iv ' BY ' IV '. Any suggestions? |
|
|||
|
I use Liant's RMCOBOL and there is a very easy way to convert. I think several versions of COBOL offer the same... Try
INSPECT WS-USER-NAME CONVERTING 'abcdefghijklmnopqrstuvwxyz' TO 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'. It works both ways (UPPER AND LOWER). |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to Convert an ER Model to Star Schema? | dwuser | Dataware Housing Tools | 1 | 10-04-2006 01:57 PM |
| How to Convert ER Model to Star Schema?? | dwuser | Data Warehousing | 1 | 04-21-2006 08:09 PM |