Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

BMSMAPs - Feild values are changing to Uppercase

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
Jangams

New User


Joined: 25 Feb 2008
Posts: 2
Location: Chennai

PostPosted: Fri Sep 04, 2009 4:40 pm    Post subject: BMSMAPs - Feild values are changing to Uppercase
Reply with quote

I am using SDF to create the BMSMAP, the problem is some of the fields at the map should be changed to uppercase, if entered in small (and we should not convert whole map to uppercase)....

I want to know whether there is any attribute that I can set at field level to convert that field data alone to uppercase...

If the syntax is shared it will be more appreciated.....Thanks in advance
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7988
Location: Bellevue, IA

PostPosted: Fri Sep 04, 2009 4:59 pm    Post subject:
Reply with quote

If you're using COBOL to process the map, use FUNCTION UPPER-CASE to convert the individual fields.
Back to top
View user's profile Send private message
Jangams

New User


Joined: 25 Feb 2008
Posts: 2
Location: Chennai

PostPosted: Fri Sep 04, 2009 5:39 pm    Post subject: Thank you Donald...
Reply with quote

I think this is the best possible solution. But I saw in SDF online help, we have CAPS {ON|IN|OUT} which is classified as 'Field Application Attribute' as we have JUSTIFY...

May I know, if you know how to use this....I couldn't find syntax of this.[/code]
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2502
Location: Atlanta, Georgia, USA

PostPosted: Fri Sep 04, 2009 6:12 pm    Post subject: Reply to: BMSMAPs - Feild values are changing to Uppercase
Reply with quote

You need to define the transaction associated with your program/map to a unique PROFILE, specifying -

Code:

Uctran         : No                 No | Yes

This is normally done by your Tech Support group and/or your CICS System Programmer.

But, keep in mind that if you transfer control to another program, the transaction will still be associated with the current transaction and upper-case translation will be OFF. So, you may want to add some code to this target program, such as a SET TERMINAL UCTRAN command, to ensure upper-case translation is ON if you're displaying the initial map. Once the program issues a RETURN TRANSID, using the transaction associated with this target program, the SET command will not be necessary, unless of course, this transid/program also requires UCTRAN to be OFF.

Your mileage may vary....

Bill
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 -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Check Binary Values for symbols gandikk CA Products 3 Tue Mar 21, 2017 5:11 am
No new posts To display values of multiple rows in... vinu78 DB2 2 Thu Mar 09, 2017 1:20 pm
No new posts Replacing same string with different ... vickey_dw DFSORT/ICETOOL 6 Wed Feb 22, 2017 10:44 pm
No new posts setting new limit Key values for inde... srilata83 DB2 1 Fri Feb 10, 2017 9:24 pm
No new posts Remove junk values in a file and rite... KP1125 DFSORT/ICETOOL 2 Wed Jan 25, 2017 9:58 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us