View previous topic :: View next topic
|
Author |
Message |
Premdev
New User
Joined: 05 Feb 2008 Posts: 24 Location: Coimbatore
|
|
|
|
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 |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
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 |
|
|
Premdev
New User
Joined: 05 Feb 2008 Posts: 24 Location: Coimbatore
|
|
|
|
Thank you. It's working fine |
|
Back to top |
|
|
Bill Dennis
Active Member
Joined: 17 Aug 2007 Posts: 562 Location: Iowa, USA
|
|
|
|
Also, typing UC9999 on the first line will change all lines to upper case (up to 9,999 of them). |
|
Back to top |
|
|
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1512 Location: Virginia, USA
|
|
|
|
C All p'<' p'>' |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
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 |
|
|
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1512 Location: Virginia, USA
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
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 |
|
|
stodolas
Active Member
Joined: 13 Jun 2007 Posts: 631 Location: Wisconsin
|
|
|
|
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 |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
x all in cmd line
UC before the resulting dotted line. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
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...
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 |
|
|
acevedo
Active User
Joined: 11 May 2005 Posts: 344 Location: Spain
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
Thank You Sir... , But still my first post following Craig's mail is waiting for a good answer. |
|
Back to top |
|
|
UmeySan
Active Member
Joined: 22 Aug 2006 Posts: 771 Location: Germany
|
|
|
|
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 |
|
|
|