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 

CICS Map Question

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


Joined: 09 May 2003
Posts: 131
Topics: 64

PostPosted: Fri Dec 09, 2005 1:21 pm    Post subject: CICS Map Question Reply with quote

Hi ,
I've a quick question.I need to display 2 different formats of data based on a condition on the map.Do I need to define 2 maps ? Is there a way to do it in 1 map.Here are the 2 lines below.And all the fields are updateable fields.

Vijay
Code:

12345678901234567890123456789012345678901234       

FIRST: aaaaaaaaaaaaaaaaaaaa LAST: bbbbbbbb         
COMPY: XXXXXXXXXXXXXXXXXXXXxxxxxxxxxxxxxxx
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Fri Dec 09, 2005 1:26 pm    Post subject: Reply with quote

Quote:

I need to display 2 different formats of data based on a condition on the map.Do I need to define 2 maps ?


vijay,

what do you mean by 2 different formats?
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
vijay
Beginner


Joined: 09 May 2003
Posts: 131
Topics: 64

PostPosted: Fri Dec 09, 2005 1:44 pm    Post subject: Reply with quote

Hi Kolusu,
On the same line (say row number 7) the detail I display will depend on a condition.It could be line with first and last name or the line with one field company name.

VIjay
Back to top
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Fri Dec 09, 2005 3:35 pm    Post subject: Reply with quote

You should use 2 maps, or even 3 (a base for the rest of the screen and 2 more that you use with ACCUM). The reason you can't use just 1 is that you need attribute bytes in different places and different field definitions. There is no way to display fields conditionally other than using ACCUM (or separate maps, of course).
Back to top
View user's profile Send private message Visit poster's website
warp5
Intermediate


Joined: 02 Dec 2002
Posts: 429
Topics: 18
Location: Germany

PostPosted: Mon Dec 12, 2005 2:39 am    Post subject: Reply with quote

You could make it one big field and send out different data with the necessary attributes. Or if you have enough room on the mask you can have both versions in the mask and control which is displayed with the dark attribute.
Back to top
View user's profile Send private message Visit poster's website
skumar
Beginner


Joined: 15 Nov 2005
Posts: 3
Topics: 1
Location: Hyderabad -India

PostPosted: Wed Nov 29, 2006 8:34 am    Post subject: Map fields unprotected thru CICS program Reply with quote

Hi,

Based on condition say type = I - Individual B - Business i have to display the name in map
eg.,
if 'i' map should display 'First: firstname MI: r Last: lastname'
if 'B' map should display 'mvsforums cics query'

(either name will display in line number 2 at column 10)


i want to handle through CICS program....
_________________
Thanks,
Kumar
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Wed Nov 29, 2006 9:31 am    Post subject: Reply with quote

skumar,

Read semigeezer's response in this thread which is just 2 posts up

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


Joined: 15 Nov 2005
Posts: 3
Topics: 1
Location: Hyderabad -India

PostPosted: Thu Nov 30, 2006 2:57 am    Post subject: Reply with quote

Hi Kolusu,

My client is not accepting to have 2 maps. he want me to change the map thru program itself.
_________________
Thanks,
Kumar
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