Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to convert Lower case to Upper case?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: How to convert Lower case to Upper case?
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: 1703
Location: Australia

PostPosted: Thu Apr 24, 2008 9:58 am    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
Reply with quote

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

Senior Member


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

PostPosted: Fri Apr 25, 2008 4:13 am    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Fri Apr 25, 2008 9:03 pm    Post subject: Reply to: How to convert Lower case to Upper case?
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

Senior Member


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

PostPosted: Sat Apr 26, 2008 6:46 am    Post subject:
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    Post subject:
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    Post subject:
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

Senior Member


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

PostPosted: Mon Apr 28, 2008 11:35 pm    Post subject:
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    Post subject:
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

Senior Member


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

PostPosted: Tue Apr 29, 2008 1:25 pm    Post subject:
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: 743
Location: Germany

PostPosted: Tue Apr 29, 2008 1:42 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm
No new posts Convert +9999999999999.99 to S9(12)V9(3) vnktrrd DFSORT/ICETOOL 8 Thu Nov 17, 2016 8:15 pm
This topic is locked: you cannot edit posts or make replies. Db2 SQL query to convert rows into co... subratarec DB2 5 Thu Nov 17, 2016 4:51 pm
No new posts convert PD to ZD ram_vizag DFSORT/ICETOOL 5 Sat Nov 05, 2016 3:06 am
No new posts help: convert C'00AB' to X'00AB' alan_gu DFSORT/ICETOOL 1 Thu Sep 29, 2016 12:22 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us