IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Question regarding lower case !!!


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
rchandran_19

New User


Joined: 08 Mar 2005
Posts: 34

PostPosted: Thu Feb 28, 2008 9:16 pm
Reply with quote

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
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Thu Feb 28, 2008 9:29 pm
Reply with quote

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
View user's profile Send private message
rchandran_19

New User


Joined: 08 Mar 2005
Posts: 34

PostPosted: Thu Feb 28, 2008 10:00 pm
Reply with quote

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
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Thu Feb 28, 2008 10:03 pm
Reply with quote

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
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Thu Feb 28, 2008 10:11 pm
Reply with quote

Isn't this more of an IMS question?
Back to top
View user's profile Send private message
rchandran_19

New User


Joined: 08 Mar 2005
Posts: 34

PostPosted: Thu Feb 28, 2008 10:13 pm
Reply with quote

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
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Thu Feb 28, 2008 10:13 pm
Reply with quote

Yes
Back to top
View user's profile Send private message
rchandran_19

New User


Joined: 08 Mar 2005
Posts: 34

PostPosted: Thu Feb 28, 2008 10:15 pm
Reply with quote

William Thompson wrote:
Isn't this more of an IMS question?


Its also a COBOL program.
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Thu Feb 28, 2008 10:36 pm
Reply with quote

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
View user's profile Send private message
rchandran_19

New User


Joined: 08 Mar 2005
Posts: 34

PostPosted: Thu Feb 28, 2008 10:50 pm
Reply with quote

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
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Thu Feb 28, 2008 11:24 pm
Reply with quote

You need to set your IMS system default to lower case.
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Thu Feb 28, 2008 11:50 pm
Reply with quote

publib.boulder.ibm.com/infocenter/dzichelp/v2r2/index.jsp?topic=/com.ibm.imstools.bts.doc.ug/btsindex.htm



TRANSACT macro

EDIT=
Specifies whether (UC) or not (ULC) the input data is to be translated to uppercase. The first parameter of this operand defines whether the transaction is uppercase/lowercase (ULC) as entered from the terminal, or if it is to be translated to uppercase (UC) before being presented to the processing program. The default is UC.
Back to top
View user's profile Send private message
Douglas Wilder

Active User


Joined: 28 Nov 2006
Posts: 305
Location: Deerfield IL

PostPosted: Fri Feb 29, 2008 3:09 am
Reply with quote

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
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Fri Feb 29, 2008 3:14 am
Reply with quote

Hey Dougie - take a look at the transaction macro. I had this problem eons ago with a purchased system.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts Question for file manager IBM Tools 7
No new posts question for Pedro TSO/ISPF 2
No new posts Zunit Test case editor error Testing & Performance 4
No new posts question on Outrec and sort #Digvijay DFSORT/ICETOOL 20
Search our Forums:

Back to Top