CA Gen block-mode CICS application converts text to uppercase for a Case Sensitive attribute
search cancel

CA Gen block-mode CICS application converts text to uppercase for a Case Sensitive attribute

book

Article ID: 201667

calendar_today

Updated On:

Products

Gen Gen - Host Encyclopedia

Issue/Introduction

Running a simple Gen 8.5 block-mode CICS application for a POC which is showing some odd behaviour.
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

Release : 8.x
Component : CA 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 behaviour. Obtaining a CICS trace when executing the application will show what is being used.
Some relevant links below:
https://www.ibm.com/support/knowledgecenter/SSGMCP_5.5.0/reference/resources/profile/dfha4_attributes.html
https://www.ibm.com/support/knowledgecenter/SSGMCP_5.5.0/reference/resources/typeterm/dfha4_attributes.html
https://www.ibm.com/support/pages/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.