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: 193
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 How to write Specific Fields from Mul... Padhu SYNCSORT 6 Thu Jul 06, 2017 10:26 am
No new posts How to Clear all TSQs during CICS sta... Hooman24 CICS 10 Mon Jun 26, 2017 9:46 pm
No new posts CICS Transaction attach count of supp... lind sh CICS 1 Wed Jun 21, 2017 1:33 pm
No new posts Validate date and numeric fields and ... Rick Silvers DFSORT/ICETOOL 6 Thu May 11, 2017 6:51 pm
No new posts Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm


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