View previous topic :: View next topic
|
Author |
Message |
skumars.tripathi
New User
Joined: 27 May 2010 Posts: 12 Location: Kolkata
|
|
|
|
How to define the same kind of elements in a map using occurs clause.
Normally occurs will create fields in horizontal way. is there any way to create fields by just defining once and will be repeated in vertical way |
|
Back to top |
|
|
naveensrimf
New User
Joined: 04 Oct 2005 Posts: 34
|
|
|
|
We can't create Vertical fileds by using occurs caluse in BMS Map.
If you want all fields in one column to be in a array structure
to access from cobol program. do following.
1. define the fields in BMS map with same name
2. after creating the symbolic map. modify symbolic map
to define array on these fields using REDEFINES clause.
3. now , you can use these arrays to refer the fields in BMS which are defined with
same name. |
|
Back to top |
|
|
i.see.the.truth
New User
Joined: 21 Sep 2007 Posts: 8 Location: CHENNAI
|
|
|
|
Thanx for the quick response. But could you please give any reference or any example... |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
skumars.tripathi wrote: |
How to define the same kind of elements in a map using occurs clause. |
Look at Repeated fields: the OCCURS option...
and he wrote: |
Normally occurs will create fields in horizontal way. is there any way to create fields by just defining once and will be repeated in vertical way |
Assuming standard 3270 BMS, make the field length total 80 bytes (79+1)...
and he also wrote: |
But could you please give any reference or any example... |
I'm not sure just what you are expecting, how about a little more detail and an example? |
|
Back to top |
|
|
Raghu navaikulam
Active User
Joined: 27 Sep 2008 Posts: 193 Location: chennai
|
|
|
|
Hi tripathi
Using Screen Definition Facility II (SDF II) you can easily define fields in vertical fashion for Maps.
Regards
Raghu |
|
Back to top |
|
|
skumars.tripathi
New User
Joined: 27 May 2010 Posts: 12 Location: Kolkata
|
|
|
|
Hi raghu,
we dont have SDF, so wee need to do this using BMS macros thru coding only !!!! |
|
Back to top |
|
|
|