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

How to sustain underline in fields/ make them permanent ?


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
mystique

New User


Joined: 16 Jan 2009
Posts: 2
Location: mumbai

PostPosted: Fri Jan 16, 2009 12:50 pm
Reply with quote

i have a map with multiple fields with underline attrb on successive lines. The problm is wen i delete or put spaces in a particular field, the underline in the field above gets removed or cut to a smaller peice.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Jan 16, 2009 10:21 pm
Reply with quote

Hello and welcome to the forum,

Please re-post your screen info using copy/paste and the "Code" tag. "Screenshots" are far less useful.

Once the replacement info has been posted, the screen shots will be deleted (if the replacements aren't posted by then, the screenshots will be deleted tomorrow).

While you can fill the field with underscores for the user to see, i'm not sure the hardware (3270) will preserve them when the fields are modified by a user.
Back to top
View user's profile Send private message
Suresh Ponnusamy

Active User


Joined: 22 Feb 2008
Posts: 107
Location: New York

PostPosted: Fri Jan 16, 2009 11:04 pm
Reply with quote

Hi

You need to give EXTATT=YES on the Mapset level (DFHMSD) and use HILIGHT=UNDERLINE on each fields.
Back to top
View user's profile Send private message
mystique

New User


Joined: 16 Jan 2009
Posts: 2
Location: mumbai

PostPosted: Mon Jan 19, 2009 11:43 am
Reply with quote

Thnx for the reply.But it doesnt serve the purpose.Wat u r tryin 2 tell me is 'how 2 use underline feature?'.......my problem is ' how to sustain underlines ?'


say initially map seems as:

Code:
Name   :_________
Address:__________

wen i try 2 put in spaces or delete from the Address field, the name field changes to:

Code:
Name   :     ____  or   Name   :___   or   Name   :

i.e; the underline behaves abnormally.Is there a way 2 correct this ?

Note: This problem persists in tso screens also.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Jan 19, 2009 12:46 pm
Reply with quote

Hello,

Quote:
Is there a way 2 correct this
You are makikng an assumption that something is not working as intended.

As i mentioned earlier, i believe you are trying to force the terminal (3270) to function other than it is designed.

Note that your reply has been "Code"ed for readability. In the future you need to do as you post/reply. Thanks to the Preview function, practicing with the Code tag is not difficult.
Back to top
View user's profile Send private message
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Mon Jan 19, 2009 9:50 pm
Reply with quote

mystique


check the CICS application code, is it moving underlines to the output fields?
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Mon Jan 19, 2009 11:00 pm
Reply with quote

I think you are confusing the underscore character with the underline attribute.
Back to top
View user's profile Send private message
Suresh Ponnusamy

Active User


Joined: 22 Feb 2008
Posts: 107
Location: New York

PostPosted: Tue Jan 20, 2009 8:36 pm
Reply with quote

Hi

Quote:

Thnx for the reply.But it doesnt serve the purpose.Wat u r tryin 2 tell me is 'how 2 use underline feature?'.......my problem is ' how to sustain underlines ?'

If the above (EXTATT=YES on the Mapset level (DFHMSD) and use HILIGHT=UNDERLINE) can be used in the map, you can sustain the underlines. External attributes such as Color, Underline are specific to the terminals what you are using. Not all the terminals will be supporting Extended attributes.

Please refer the below link

publib.boulder.ibm.com/iseries/v5r2/ic2924/books/c415454121.htm
Back to top
View user's profile Send private message
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Wed Jan 21, 2009 4:23 am
Reply with quote

you need to determine if the underlines are coming from application program or CICS map.

If from program, you don't want to be changing the map.
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 trying to make sense of keylists TSO/ISPF 11
No new posts Concatenate 2 fields (usage national)... COBOL Programming 2
No new posts Cobol COMP-2 fields getting scrambled... Java & MQSeries 6
No new posts Make cobol variable value a variable COBOL Programming 3
No new posts Converting unpacked fields to pack us... SYNCSORT 4
Search our Forums:

Back to Top