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 

Creating array while designing screen using BMS macros..

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


Joined: 23 Jan 2006
Posts: 65
Topics: 29

PostPosted: Mon Oct 30, 2006 3:15 pm    Post subject: Creating array while designing screen using BMS macros.. Reply with quote

I am desinging a screen using assembler program!!

previously i used create new screens using SDF..but the present organization doesn't have it..so I have to use macros....In SDF we were able to group the feilds and create a table of feild,after compiling the grouped were created in copybook...

while creating a screen using macros, we cann't manually create a table for the feild...

for eg. i have one (assume month) feild which repeats 12 times within the same screen..in assebler macros i have to define feild by feild, not like SDF where we can repeat it...

is there any way,we can create copybook with month occuring 12 times(creating a occurs table for month feild in copybook)..while compiling a map.



thanks
suma
Back to top
View user's profile Send private message
shekar123
Advanced


Joined: 22 Jul 2005
Posts: 528
Topics: 90
Location: Bangalore India

PostPosted: Tue Oct 31, 2006 1:53 am    Post subject: Reply with quote

Suma,

Are you looking for something like this:
Code:

MONTNAME  DFHMDF POS=(11,1),LENGTH=15,OCCURS=12

In this case each field will occur 12 times which can hold individual 15 bytes of Month Name.
_________________
Shekar
Grow Technically
Back to top
View user's profile Send private message
suma
Beginner


Joined: 23 Jan 2006
Posts: 65
Topics: 29

PostPosted: Tue Oct 31, 2006 11:50 am    Post subject: Reply with quote

I tried OCCURS class,but it is displaying the fields in verical positions...


thanks
suma
Back to top
View user's profile Send private message
shekar123
Advanced


Joined: 22 Jul 2005
Posts: 528
Topics: 90
Location: Bangalore India

PostPosted: Tue Oct 31, 2006 1:48 pm    Post subject: Reply with quote

Suma,

Can you let me know how do you want to show your fields on the Map ?
_________________
Shekar
Grow Technically
Back to top
View user's profile Send private message
suma
Beginner


Joined: 23 Jan 2006
Posts: 65
Topics: 29

PostPosted: Wed Nov 01, 2006 9:09 am    Post subject: Reply with quote

shekar,

tks for ur response!

the layout should be like this...


emp # emp salary
name

------- ----- -------- > horizontal

------- ----- --------

------- ----- --------

------- ----- --------

^
Vertical




emp # repeats 12 times horizontally...I used occurs class,at this feilds are getting filled vertically....


thanks..


suma
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