IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to create repetative fields in CICS map


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
skumars.tripathi

New User


Joined: 27 May 2010
Posts: 12
Location: Kolkata

PostPosted: Mon Jun 28, 2010 5:31 pm
Reply with quote

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

New User


Joined: 04 Oct 2005
Posts: 34

PostPosted: Mon Jun 28, 2010 9:25 pm
Reply with quote

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
View user's profile Send private message
i.see.the.truth

New User


Joined: 21 Sep 2007
Posts: 8
Location: CHENNAI

PostPosted: Mon Jun 28, 2010 10:15 pm
Reply with quote

Thanx for the quick response. But could you please give any reference or any example...
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Mon Jun 28, 2010 10:26 pm
Reply with quote

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
View user's profile Send private message
Raghu navaikulam

Active User


Joined: 27 Sep 2008
Posts: 193
Location: chennai

PostPosted: Wed Jun 30, 2010 2:01 am
Reply with quote

Hi tripathi

Using Screen Definition Facility II (SDF II) you can easily define fields in vertical fashion for Maps.

Regards
Raghu
Back to top
View user's profile Send private message
skumars.tripathi

New User


Joined: 27 May 2010
Posts: 12
Location: Kolkata

PostPosted: Wed Jun 30, 2010 11:11 am
Reply with quote

Hi raghu,
we dont have SDF, so wee need to do this using BMS macros thru coding only !!!!
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts How to create a list of SAR jobs with... CA Products 3
No new posts Calling an Open C library function in... CICS 1
No new posts How to 'Ping' a CICS region in JCL CICS 2
No new posts Parallelization in CICS to reduce res... CICS 4
Search our Forums:

Back to Top