Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to create repetative fields in CICS map

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: How to create repetative fields in CICS map
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: 31

PostPosted: Mon Jun 28, 2010 9:25 pm    Post subject: Reply to: How to create repetative fields in CICS map
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    Post subject: Reply to: How to create repetative fields in CICS map
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: 2150
Location: At my coffee table

PostPosted: Mon Jun 28, 2010 10:26 pm    Post subject: Re: How to create repetative fields in CICS map
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: 186
Location: chennai

PostPosted: Wed Jun 30, 2010 2:01 am    Post subject: Reply to: How to create repetative fields in CICS map
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    Post subject: Reply to: How to create repetative fields in CICS map
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts CICS transaction slow response time vasanthz All Other Mainframe Topics 1 Thu Jan 19, 2017 1:31 am
No new posts Syncsort Help to group fields sudhakarraju SYNCSORT 6 Thu Dec 29, 2016 1:38 am
No new posts INDEPENDENT CICS TS 4.1 MRO REGION UP... Kyle Carroll CICS 0 Wed Dec 14, 2016 6:55 pm
No new posts CICS START AND CANCEL blayek CICS 1 Wed Dec 07, 2016 3:27 am
No new posts How does a called pgm know if its cal... Graeme Westerman COBOL Programming 4 Tue Nov 29, 2016 9:25 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us