View previous topic :: View next topic |
Author |
Message |
jim haire Beginner
Joined: 30 Dec 2002 Posts: 140 Topics: 40
|
Posted: Fri Nov 15, 2019 9:19 am Post subject: Multiple repeating lines in a BMS Map |
|
|
Is it possible to use an OCCURS for a block of repeating lines on a BMS map?
Example:
Code: |
Name: XXXXXXXXXXXXXXXXXXX
Address: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Name: XXXXXXXXXXXXXXXXXXX
Address: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Name: XXXXXXXXXXXXXXXXXXX
Address: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Name: XXXXXXXXXXXXXXXXXXX
Address: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
Thanks! |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
Posted: Sat Nov 16, 2019 9:02 am Post subject: |
|
|
jim haire,
My CICS knowledge is kinda of rusty. so the OCCURS in BMS maps produces an Horizontal array, but you need a vertical array.
So I think there are a couple of ways to get around the issue.
1 . Use IBM’s SDF II and it lets you specify the array direction, and the screen painter will generate appropriate symbolic map.
2. If you don't have SDF II then you can start defining one structure and generate the symbolic mapping. Now edit this symbolic mapping to "n" number of repeating and adjusting the positions and having unique names Name1, Address1 Name2 Address 2 and on so on..
3. Alternatively you can define a field with a generic name, using the full length 79, with occurs Clause and then you have to define 01 structure to list the values and you should take care of populating the values by your self. _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
jim haire Beginner
Joined: 30 Dec 2002 Posts: 140 Topics: 40
|
Posted: Mon Nov 25, 2019 1:56 pm Post subject: |
|
|
First, let me apologize for not getting back to you sooner. I was pulled from this task to do something else and just got back to it today. When I looked at the map, I realized that I had posted the question on MVSFORUMS.
Thanks for your response!!
Actually, the maps I have been building have had vertical arrays. I may have 1 to n fields on a line and repeated over multiple lines, but I think of these as vertical arrays as the number of occurrences is equal to the number of lines I have vertically. (This is not that important).
However, I haven't tried to do this when I have a "repeating block of lines". We don't have SDF II. I think I will probably go with your #2 approach as I only have 5 occurrences per page.
Thanks again for your time! |
|
Back to top |
|
|
|
|