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

REPLACIN UPPERCASE WITH LOW-CASE


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
perez_a

New User


Joined: 02 Feb 2006
Posts: 25
Location: Italy

PostPosted: Sat Feb 25, 2006 5:40 pm
Reply with quote

I want to know if there is a method for transform a text in low-case for display it.
Thanks a lot
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Sat Feb 25, 2006 5:57 pm
Reply with quote

Sure. You can use the LOWER-CASE function, as described in the fine manual.

O.
Back to top
View user's profile Send private message
ajayvamsi

New User


Joined: 21 Jul 2005
Posts: 56
Location: Hyderabad

PostPosted: Sun Feb 26, 2006 12:09 pm
Reply with quote

u can use INSPECT also
thanks,
ajay
Back to top
View user's profile Send private message
perez_a

New User


Joined: 02 Feb 2006
Posts: 25
Location: Italy

PostPosted: Tue Feb 28, 2006 7:10 pm
Reply with quote

thanks for your answare icon_wink.gif

Have a nice day
Back to top
View user's profile Send private message
perez_a

New User


Joined: 02 Feb 2006
Posts: 25
Location: Italy

PostPosted: Tue Feb 28, 2006 7:10 pm
Reply with quote

thanks for your answare icon_wink.gif

Have a nice day
Back to top
View user's profile Send private message
hncs

New User


Joined: 01 Mar 2006
Posts: 11

PostPosted: Thu Mar 02, 2006 4:41 pm
Reply with quote

YOU CAN USE

INSPECT STRING-1 REPLACING ALL 'ABCD....Z' BY 'abcd.....z'.
Back to top
View user's profile Send private message
ravu4u

New User


Joined: 09 Jan 2006
Posts: 1
Location: Chennai

PostPosted: Mon Mar 06, 2006 4:09 pm
Reply with quote

Hi,

here i am giving an example. Plz check it!


01 Item-1 Pic x(30) Value ?Hello World!?.
01 Item-2 Pic x(30).
. . .
Display Item-1
Display Function Upper-case(Item-1)
Display Function Lower-case(Item-1)
Move Function Upper-case(Item-1) to Item-2
Display Item-2
The code above displays the following messages on the system logical output
device:
Hello World!
HELLO WORLD!
hello world!
HELLO WORLD!


The DISPLAY statements do not change the actual contents of Item-1, but affect only how the letters are displayed. However, the MOVE statement causes uppercase letters to be moved to the actual contents of Item-2.


Please let me know, If I am wrong.

thanks,
Rao
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 COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts Zunit Test case editor error Testing & Performance 4
No new posts usage of CASE in WHERE clause DB2 10
No new posts COBOL -DB2 SQL code to have GROUP BY ... DB2 21
No new posts RFE: DB2 support for mixed case names. DB2 0
Search our Forums:

Back to Top