[Migrated content. Thread originally posted on 25 August 2010]
I would like to run something like the "PROPER" function (found in Microsoft Excel) on cobol data that i'm bringing into to web application.The proper function takes all upper-case data (ABCO CORPORATION, LTD.) and attempts to convert it to upper and lower case (Abco Corporation, Ltd.)
Converting the cobol database would be a huge conversion. Ideally, I'd like to leave the cobol database alone and convert only the data I'm bringing into the web application. This data is refreshed every day, so this process needs to be efficient and programmatic. (FYI - the cobol data is extracted from the database and dumped into another cobol vision file. This file is then queried with acuxdbc and data is pulled into a csv file which is updated to the web application).
Is anyone aware of a cobol algorithm that can handle this transformation of all upper-case data to proper upper and lower case data? Any other ideas?
Thanks so much for any ideas!
KSmith



