Convert user input to upper case
Posted on 1998-11-04
I have Microfocus Cobol as a front-end to my Oracle7 database.
From my Cobol programs, I accept both the Oracle username and Password from the user. I use these 2 entries to connect to the the Oracle database (via embedded SQL). For some reason, my connection to the Oracle database doesn't work well if the entries (that is the Oracle username and password) are in lowercase. I therefore would like to convert these 2 entries from the user into uppercase before using them to connect to my oracle database.
Is there an easy way of converting my user entries into uppercase after accepting them from the user? I will then use these uppercase entries to connect to my Oracle database.