View previous topic :: View next topic
|
Author |
Message |
rchandran_19
New User
Joined: 08 Mar 2005 Posts: 34
|
|
|
|
Hi All,
I have a alpha numeric field that should handle case sensitive values. How to implement it?
Its a alpha field called: PASSWD PIC X(9).
Thanks,
RC |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
If it is a CICS mapped field, you will need to insure the upper case translation in not in effect for the transaction..... |
|
Back to top |
|
|
rchandran_19
New User
Joined: 08 Mar 2005 Posts: 34
|
|
|
|
CICS Guy wrote: |
If it is a CICS mapped field, you will need to insure the upper case translation in not in effect for the transaction..... |
Its a MPP cobol program. The input value is a 'password' and its case sensitive on the screen. So, I want to handle this value as it is in the program, but the program is converting everything to upper case.
Is there any way to prevent this from happening? |
|
Back to top |
|
|
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1512 Location: Virginia, USA
|
|
|
|
Cobol does not change the case unless you tell it to, it must be already in upper case when it gets to the program. |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
Isn't this more of an IMS question? |
|
Back to top |
|
|
rchandran_19
New User
Joined: 08 Mar 2005 Posts: 34
|
|
|
|
Craq Giegerich wrote: |
Cobol does not change the case unless you tell it to, it must be already in upper case when it gets to the program. |
Oh! ok...
I was stepping thru the program using expeditor to test. In that, the field had all uppercase characters.
I guess its not the problem with the program, but the way 'xpeditor' displays them.
Thanks. |
|
Back to top |
|
|
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1512 Location: Virginia, USA
|
|
|
|
Yes |
|
Back to top |
|
|
rchandran_19
New User
Joined: 08 Mar 2005 Posts: 34
|
|
|
|
William Thompson wrote: |
Isn't this more of an IMS question? |
Its also a COBOL program. |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
rchandran_19 wrote: |
Its also a COBOL program. |
Yes, but as was already said:
Craq Giegerich wrote: |
Cobol does not change the case unless you tell it to, it must be already in upper case when it gets to the program. |
|
|
Back to top |
|
|
rchandran_19
New User
Joined: 08 Mar 2005 Posts: 34
|
|
|
|
CICS Guy wrote: |
rchandran_19 wrote: |
Its also a COBOL program. |
Yes, but as was already said:
Craq Giegerich wrote: |
Cobol does not change the case unless you tell it to, it must be already in upper case when it gets to the program. |
|
Thank you all for clarifying me. :D |
|
Back to top |
|
|
Sandy Zimmer
Active Member
Joined: 13 Jun 2007 Posts: 826 Location: Wilmington, DE
|
|
|
|
You need to set your IMS system default to lower case. |
|
Back to top |
|
|
Sandy Zimmer
Active Member
Joined: 13 Jun 2007 Posts: 826 Location: Wilmington, DE
|
|
Back to top |
|
|
Douglas Wilder
Active User
Joined: 28 Nov 2006 Posts: 305 Location: Deerfield IL
|
|
|
|
My ancient IMS/VS Version 1 MFS User’s Guide states that for msg type= input seg graphic=yes will translate lower case to upper case. The default = yes. So seg graphic=no should not translate lower case to upper case. |
|
Back to top |
|
|
Sandy Zimmer
Active Member
Joined: 13 Jun 2007 Posts: 826 Location: Wilmington, DE
|
|
|
|
Hey Dougie - take a look at the transaction macro. I had this problem eons ago with a purchased system. |
|
Back to top |
|
|
|