Gen block-mode CICS application converts text to uppercase
search cancel

Gen block-mode CICS application converts text to uppercase

book

Article ID: 201667

calendar_today

Updated On:

Products

Gen

Issue/Introduction

Running a simple Gen block-mode CICS application for a POC which is showing some odd behavior.
Entering mixed case text into an entry field on the screen for a work set attribute which is marked as TEXT, Case Sensitive and optional.  
However, when the screen executes the function, it converts the value from mixed (lower case) to all upper case. Changes to the edit pattern and other items have no effect.

Environment

Component : Gen Run Time, Blockmode

Resolution

The root cause is not likely to be model related and most likely related to the runtime environment.
When running under CICS not having the correct UCTRAN option in the CICS PROFILE and TYPETERM definitions can cause the reported behavior.
Obtaining a CICS trace when executing the application will show what is being used.

Some relevant links below:
IBM > CICS Transaction Server for z/OS > PROFILE Attributes
IBM > CICS Transaction Server for z/OS > TYPETERM Attributes
IBM Support > CICS Input Map Mixed Case Translated Upper Case Even After Set Terminal NOUCTRAN

Problem confirmed as being due to having TYPETERM UCTRAN set to Yes and per the above links the TYPETERM UCTRAN attribute is the overriding value.