MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Mixed Case

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
NASCAR9
Intermediate


Joined: 08 Oct 2004
Posts: 274
Topics: 52
Location: California

PostPosted: Fri Nov 03, 2006 1:38 pm    Post subject: Mixed Case Reply with quote

I need to load a VSAM file into DB2 tables. I had a request to change names to mixed case. I'm writing this program in COBOL. Is there a function, LE routine, or something in DB2 to accomplish this request?

I familiar with 'UPPER-CASE' and 'LOWER-CASE'.

Any help will be appreciated.
_________________
Thanks,
NASCAR9
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12394
Topics: 75
Location: San Jose

PostPosted: Fri Nov 03, 2006 2:08 pm    Post subject: Reply with quote

NASCAR9,

what are the rules governing the mixed case? Both DB2 and Cobol have functions to change from uppercase to lowercase and vice versa.

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
sriramla
Beginner


Joined: 22 Feb 2003
Posts: 74
Topics: 1

PostPosted: Fri Nov 03, 2006 2:46 pm    Post subject: Reply with quote

The rules to convert names to Mixed case are always complicated and you need to come up with precise requirements before coding. You need to pay attention to Jr, Sr, Roman Numeral for first, second (I, II etc), names like Bill 'O Boyle etc....

Any rule you apply may not cover all possible scenarios for names. Hence I recommend to use a Exception table for name conversion that stores the upper case name and corresponding Mixed case name for unique names that do not follow your rules.
Back to top
View user's profile Send private message
NASCAR9
Intermediate


Joined: 08 Oct 2004
Posts: 274
Topics: 52
Location: California

PostPosted: Fri Nov 03, 2006 3:38 pm    Post subject: Reply with quote

Thanks for the responses! I was hoping for a function or called sub-routine already written by IBM. Sounds like that doesn't exist. I don't have time to code the rules, time is very critical at this point. It's a 'Nice to have' not a hard requirement.
_________________
Thanks,
NASCAR9
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group