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

code to convert UPPERCASE to LOWERCASE string.


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
parikshit123

Active User


Joined: 01 Jul 2005
Posts: 269
Location: India

PostPosted: Mon Aug 28, 2006 1:03 pm
Reply with quote

Hi Forum,
I need an assmbler program to conver a string in UPPERCASE to lowercase.

Can anyone please help me with this?
Back to top
View user's profile Send private message
bengtpelle

New User


Joined: 28 Aug 2006
Posts: 24
Location: St. Petersburg, FL

PostPosted: Mon Aug 28, 2006 8:55 pm
Reply with quote

This is quite simple. The difference between upper case and lower case is a blank X'40'. Simply removing this will do it. E.G.

UPERTEXT DC C'ABCDEF'
MASK DC X'BFBFBFBFBFBF'

NC UPERTEXT,MASK

After this, UPERTEXT contains C'abcdef'

icon_biggrin.gif
Back to top
View user's profile Send private message
parikshit123

Active User


Joined: 01 Jul 2005
Posts: 269
Location: India

PostPosted: Tue Aug 29, 2006 12:47 am
Reply with quote

Hi guys,

But I need a complete program, can anyone help me with this?
Back to top
View user's profile Send private message
bengtpelle

New User


Joined: 28 Aug 2006
Posts: 24
Location: St. Petersburg, FL

PostPosted: Thu Aug 31, 2006 4:59 am
Reply with quote

What type of program?
A standalone?
A Subroutine?
Where does the string come from?
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts IBM IMU Utility for Easytrieve Code t... IBM Tools 0
No new posts Convert CSV to flat file. DFSORT/ICETOOL 6
No new posts convert arbitrary UTC to local (SYD) ... COBOL Programming 1
No new posts purge jobs with return code 0 and ret... JCL & VSAM 6
No new posts Convert Service Unit to CPU Seconds All Other Mainframe Topics 1
Search our Forums:


Back to Top