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

How to convert Lower case to Upper case?


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Premdev

New User


Joined: 05 Feb 2008
Posts: 24
Location: Coimbatore

PostPosted: Thu Apr 24, 2008 9:14 am
Reply with quote

Hi,

My program is in lower case i need to change that in upper case instead of giving uc in all lines. Is it possible? If so, anyone please let me know how.

Thanks in advance.

R's,
Prema.
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Thu Apr 24, 2008 9:58 am
Reply with quote

Hi,

UCUC on first line and last line will do the trick if I understood the question correctly, ie. block command


Gerry
Back to top
View user's profile Send private message
Premdev

New User


Joined: 05 Feb 2008
Posts: 24
Location: Coimbatore

PostPosted: Thu Apr 24, 2008 10:03 am
Reply with quote

Thank you. It's working fine icon_smile.gif
Back to top
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Thu Apr 24, 2008 7:27 pm
Reply with quote

Also, typing UC9999 on the first line will change all lines to upper case (up to 9,999 of them).
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Thu Apr 24, 2008 8:16 pm
Reply with quote

C All p'<' p'>'
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Fri Apr 25, 2008 4:13 am
Reply with quote

Hi,

Craq Giegerich wrote:
C All p'<' p'>'
Oh it's a good command, but it shows
Quote:
No CHARS '<' found
as an ISPF message(on right top corner at my shop) but it does the trick.
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Fri Apr 25, 2008 5:58 pm
Reply with quote

Anuj D. wrote:
Hi,

Craq Giegerich wrote:
C All p'<' p'>'
Oh it's a good command, but it shows
Quote:
No CHARS '<' found
as an ISPF message(on right top corner at my shop) but it does the trick.


Maybe you got that message because there were no lower case characters to start with!
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Apr 25, 2008 9:03 pm
Reply with quote

Quote:
Maybe you got that message because there were no lower case characters to start with!
Or the second time the command was issued on the same data. . .

d
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Sat Apr 26, 2008 6:46 am
Reply with quote

Hi,

Quote:
Or the second time the command was issued on the same data. . .
No, I didn't do that.

Quote:
Maybe you got that message because there were no lower case characters to start with!
Well, I think, if PROFile settings take precedence to this command then you are right. In my PROFile settings 'CAPS ON' was active, the moment I press enter I think because of PROFile settings 'lower case' were already 'upper case' before the above command could actually 'act' & so the message (No CHARS '<' found) am I right ?
Back to top
View user's profile Send private message
stodolas

Active Member


Joined: 13 Jun 2007
Posts: 632
Location: Wisconsin

PostPosted: Sat Apr 26, 2008 9:41 am
Reply with quote

Some of my programs have large notes at the top to never convert them to all upper case. It will break them!
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sun Apr 27, 2008 2:16 am
Reply with quote

x all in cmd line
UC before the resulting dotted line.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon Apr 28, 2008 11:35 pm
Reply with quote

mmwife wrote:
x all in cmd line
UC before the resulting dotted line.
This also works, thread is getting intresting in real, many ways to do a single thing... icon_smile.gif

Quote:
Some of my programs have large notes at the top to never convert them to all upper case. It will break them!
This is one of the reasons why I'm following this thread. Wish to know, where did I go wrong in my understanding.
Back to top
View user's profile Send private message
acevedo

Active User


Joined: 11 May 2005
Posts: 344
Location: Spain

PostPosted: Tue Apr 29, 2008 11:45 am
Reply with quote

other values in the PICTURE form:

Code:
p'=' any character                                         
p'¬' any character that is not a blank                     
p'.' any character that cannot be displayed               
p'#' any numeric character, 0-9                           
p'-' any non-numeric character                             
p'@' any alphabetic character, uppercase or lowercase     
p'<' any lowercase alphabetic character (*)               
P'>' ANY UPPERCASE ALPHABETIC CHARACTER (*)               
p'$' any special character, neither alphabetic nor numeric.
p'Ñ' numeric characters                                   
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Tue Apr 29, 2008 1:25 pm
Reply with quote

Thank You Sir... icon_smile.gif , But still my first post following Craig's mail is waiting for a good answer.
Back to top
View user's profile Send private message
UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 771
Location: Germany

PostPosted: Tue Apr 29, 2008 1:42 pm
Reply with quote

Hi Anuj D. !

You're might be right with your first thought.

CHARS '<' changed, will appear when letters are changed from lower case to upper case, regardless of profile setting.

I had a quick test.

No CHARS '<' found is displayed only if there are no letters to change,
regardless which profile settings are made.

Have a nice day,
UmeySan
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 -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts Need to convert date format DFSORT/ICETOOL 20
No new posts Keep leading zero(s) after convert fl... SYNCSORT 7
No new posts Convert single row multi cols to sing... DFSORT/ICETOOL 6
No new posts convert file from VB to FB and use tr... DFSORT/ICETOOL 8
Search our Forums:

Back to Top