View previous topic :: View next topic |
Author |
Message |
vijay Beginner
Joined: 09 May 2003 Posts: 131 Topics: 64
|
Posted: Fri Dec 09, 2005 1:21 pm Post subject: CICS Map Question |
|
|
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 |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Fri Dec 09, 2005 1:26 pm Post subject: |
|
|
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 |
|
 |
vijay Beginner
Joined: 09 May 2003 Posts: 131 Topics: 64
|
Posted: Fri Dec 09, 2005 1:44 pm Post subject: |
|
|
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 |
|
 |
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Fri Dec 09, 2005 3:35 pm Post subject: |
|
|
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 |
|
 |
warp5 Intermediate

Joined: 02 Dec 2002 Posts: 429 Topics: 18 Location: Germany
|
Posted: Mon Dec 12, 2005 2:39 am Post subject: |
|
|
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 |
|
 |
skumar Beginner
Joined: 15 Nov 2005 Posts: 3 Topics: 1 Location: Hyderabad -India
|
Posted: Wed Nov 29, 2006 8:34 am Post subject: Map fields unprotected thru CICS program |
|
|
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 |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Wed Nov 29, 2006 9:31 am Post subject: |
|
|
skumar,
Read semigeezer's response in this thread which is just 2 posts up
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
skumar Beginner
Joined: 15 Nov 2005 Posts: 3 Topics: 1 Location: Hyderabad -India
|
Posted: Thu Nov 30, 2006 2:57 am Post subject: |
|
|
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 |
|
 |
|
|