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 

Multiple repeating lines in a BMS Map

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


Joined: 30 Dec 2002
Posts: 140
Topics: 40

PostPosted: Fri Nov 15, 2019 9:19 am    Post subject: Multiple repeating lines in a BMS Map Reply with quote

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
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Sat Nov 16, 2019 9:02 am    Post subject: Reply with quote

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 - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

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


Joined: 30 Dec 2002
Posts: 140
Topics: 40

PostPosted: Mon Nov 25, 2019 1:56 pm    Post subject: Reply with quote

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
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