MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Help on BMS attribute

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
taurian
Beginner


Joined: 20 May 2004
Posts: 12
Topics: 6

PostPosted: Wed Nov 03, 2004 10:39 am    Post subject: Help on BMS attribute Reply with quote

Hi,

I checked for this topic..but did not find one to this specific case

In my map I have declared a field default color as yellow and the field attributes are NORM,UNPROT,FSET,IC

now in my program in case of error I am trying to move DFHRED to the field attribute, it is making the field protective..why is this happening?
Am I doing something wrong Rolling Eyes
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12383
Topics: 75
Location: San Jose

PostPosted: Wed Nov 03, 2004 12:22 pm    Post subject: Reply with quote

taurian,


Are sure that you are moving DFHRED to "C" suffix field?

Quote:

MOVE DFHRED TO varC


Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
taurian
Beginner


Joined: 20 May 2004
Posts: 12
Topics: 6

PostPosted: Wed Nov 03, 2004 3:02 pm    Post subject: Reply with quote

Hi Kolusu,

I did not understand...if the filed name is 'OPTION' the variables generated are

OPTIONL
OPTIONF
OPTIONA
OPTIONI
OPTIONO

will it generate a field OPTIONC?
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12383
Topics: 75
Location: San Jose

PostPosted: Wed Nov 03, 2004 3:25 pm    Post subject: Reply with quote

taurian,

Since you defined the COLOR attribute you should have a Suffix Field generated after the compilation of the map.

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
taurian
Beginner


Joined: 20 May 2004
Posts: 12
Topics: 6

PostPosted: Wed Nov 03, 2004 4:19 pm    Post subject: Reply with quote

Though I used color When I generate the map Variable with C suffix is not getting generated..should I do some changes
Code:

DFHMSD:
LANG=COBOL,         
MODE=INOUT,         
TERM=ALL,           
CTRL=(FREEKB,FRSET),
STORAGE=AUTO,       
TIOAPFX=YES,       
COLOR=WHITE         

DFHMDF:
OPTION    DFHMDF POS=(10,72),                 
               LENGTH=1,                   
               ATTRB=(NORM,UNPROT,FSET,IC),
               PICIN='X',                 
               PICOUT='X',                 
               COLOR=YELLOW                 


is something wrong with this?
Back to top
View user's profile Send private message
BigDaddy
Beginner


Joined: 05 Nov 2004
Posts: 18
Topics: 5
Location: AMERICA

PostPosted: Fri Nov 05, 2004 9:33 am    Post subject: Reply with quote

Taurian, I am a little rusty on bmsmaps ( I have been using GTB) but I think you need to specify that you are using extended attributes on your map. This should give you your color field (OPTIONC).
Back to top
View user's profile Send private message
Mickeyd
Beginner


Joined: 02 Jan 2003
Posts: 27
Topics: 0

PostPosted: Fri Nov 05, 2004 10:27 am    Post subject: Reply with quote

THis is an example of what you need to use the color field.
Code:


DFHMSD TYPE=&SYSPARM,                                 
      MODE=INOUT,LANG=COBOL,STORAGE=AUTO,TIOAPFX=YES, 
      MAPATTS=(COLOR,HILIGHT),DSATTS=(COLOR,HILIGHT), 
      CTRL=(FREEKB),TERM=3270-2,CURSLOC=YES
Back to top
View user's profile Send private message
Mike Chantrey
Intermediate


Joined: 10 Sep 2003
Posts: 234
Topics: 1
Location: Wansford

PostPosted: Fri Nov 05, 2004 10:33 am    Post subject: Reply with quote

Try adding
DSATTS=COLOR,
and
MAPATTS=COLOR,
to your DFHMSD
and you should find you get the OPTIONC field you need to move DFHRED to.
Back to top
View user's profile Send private message
Mike Chantrey
Intermediate


Joined: 10 Sep 2003
Posts: 234
Topics: 1
Location: Wansford

PostPosted: Fri Nov 05, 2004 10:34 am    Post subject: Reply with quote

My post is now redundant - Mickeyd posted while I was typing...
Back to top
View user's profile Send private message
taurian
Beginner


Joined: 20 May 2004
Posts: 12
Topics: 6

PostPosted: Sat Nov 06, 2004 4:14 pm    Post subject: Reply with quote

Thanks Mickeyd and Mike it worked.. Very Happy
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group