Preserving mixed case data from Gen proxy app UI to Gen server
search cancel

Preserving mixed case data from Gen proxy app UI to Gen server

book

Article ID: 136941

calendar_today

Updated On:

Products

Gen Gen - Run Time Distributed Gen - Workstation Toolset

Issue/Introduction

Have a custom .NET application using a Gen .NET Proxy to call a Gen z/OS COBOL server.
The app wants to preserve upper/lower case responses from the business user to be inserted into a DB2 database.
Looking for info on how to configure the z/OS servers to accept mixed case data as the data always comes into the server as upper case. 
Already tested putting mixed case responses in the z/OS import views using DTF and DB2 did store and retrieve the data as mixed case.

Environment

Release : 8.6 
Gen Proxy Programming Interface
Gen Workstation Toolset

Resolution

The entity attributes used in the server view(s) must be set as mixed case ("Case Sensitive") in the toolset model i.e. check the box "Case Sensitive" on the entity attribute Properties for all attributes that may be mixed case.

If server view attributes are not set as mixed case, the data passed will be translated to upper case.
If the .NET application changes the model’s attribute to be case sensitive, then when the z/OS server starts executing, having "Case Sensitive" set will preserve the case that is passed into the import views.

Additional Information