I have converted a cobol II program to Cobol 390. The problem I am facing here is after conversion the screen is converting the lower case data entered into upper case. Before conversion it was accepting the lower case entered. The thing happening in the cobol 390 prog is the moment the data which was entered in lower case is getting received as upper case in the map field copybook. . I am not able to under how this is happening.
Please let me know how to solve this issue.
Joined: 06 Jun 2008 Posts: 8211 Location: Dubuque, Iowa, USA
From the CICS Programming Guide:
188.8.131.52 Upper case translation
CICS converts lower case input characters to upper case automatically under some circumstances. The definition of the terminal and the transaction together determine whether translation occurs.
See the UCTRAN option of the PROFILE and the TYPETERM resource definitions in the CICS Resource Definition Guide for how these specifications interact.
You can suppress this translation by using the ASIS option on your RECEIVE MAP command, except on the first RECEIVE in a task initiated by terminal input. (The first RECEIVE may be either a RECEIVE MAP (without FROM) or a terminal control RECEIVE.) CICS has already read and translated this input, and it is too late to suppress translation. (Its arrival caused the task to be invoked, as explained in "How tasks are started" in topic 3.1.2.) Consequently, ASIS is ignored entirely in pseudoconversational transaction sequences, where at most one RECEIVE MAP (without FROM) occurs per task, by definition. For the same reason, you cannot use ASIS with the FROM option (see "Formatting other input" in topic 6.5.12).
It sounds like you need to get with your CICS support group to determine how the old and new transactions are defined.