Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Question regarding lower case !!!

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
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    Post subject: Question regarding lower case !!!
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: 2150
Location: At my coffee table

PostPosted: Thu Feb 28, 2008 9:29 pm    Post subject:
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    Post subject:
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    Post subject:
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: 3158
Location: Tucson AZ

PostPosted: Thu Feb 28, 2008 10:11 pm    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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: 2150
Location: At my coffee table

PostPosted: Thu Feb 28, 2008 10:36 pm    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
Reply with quote

http://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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Question related to Data dictionary f... rexx77 SYNCSORT 3 Thu Aug 31, 2017 7:23 am
No new posts RFE: DB2 support for mixed case names. Pedro DB2 0 Tue Jul 04, 2017 1:32 am
No new posts QUESTION: RETURN CHANNEL pahiker CA Products 21 Thu Apr 20, 2017 12:31 am
No new posts The Last Two Question For You To Ask ... CaptBill Mainframe Interview Questions 0 Fri Apr 14, 2017 5:42 am
No new posts Asynchronous CICS Processing Question moezbud CICS 1 Mon Mar 06, 2017 6:13 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us