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

BMSMAPs - Feild values are changing to Uppercase


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
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
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Sep 04, 2009 4:59 pm
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
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: 2501
Location: Atlanta, Georgia, USA

PostPosted: Fri Sep 04, 2009 6:12 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts changing defaults in db2 admin - Unlo... DB2 0
No new posts Null values are considered in Total c... DFSORT/ICETOOL 6
No new posts Converting ASCII values to COMP-3 (ZD... JCL & VSAM 2
Search our Forums:

Back to Top