Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
OCCURS in CICS MAP & MAPSET

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
mohanraj841

New User


Joined: 19 Oct 2007
Posts: 1
Location: Kochi

PostPosted: Fri Jul 03, 2009 1:10 pm    Post subject: OCCURS in CICS MAP & MAPSET
Reply with quote

Hi All,

Can someone explain how to declare arrays(occurs) in MAP?

Need to increase the no# of lines in CICS online screen based on the requirements.

Please help me in this case.

Thanks & Regards,
Mohanraj K
Back to top
View user's profile Send private message

Binop B

Active User


Joined: 18 Jun 2009
Posts: 407
Location: Nashville, TN

PostPosted: Fri Jul 03, 2009 2:33 pm    Post subject:
Reply with quote

Hi Mohan,

I am not aware of whether arrays can be declared in a MAP. If u are using scroll logic in ur map, my suggestion would be to REDEFINE the symbolic map with the array.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8201
Location: Dubuque, Iowa, USA

PostPosted: Fri Jul 03, 2009 5:08 pm    Post subject:
Reply with quote

There's a link to manuals at the top of the page. If you use it, find the CICS Language Reference manual, and check out the section on DFHMDF you will find that OCCURS is an option that can be specified. The manuals are generally pretty good at explaining usage.
Back to top
View user's profile Send private message
rohanthengal

Active User


Joined: 19 Mar 2009
Posts: 181
Location: Globe, India

PostPosted: Sun Jul 05, 2009 3:45 pm    Post subject: Reply to: OCCURS in CICS MAP & MAPSET
Reply with quote

Hi ,
You can refer the following example:
DISP1 DFHMDF POS=(15,01),
INITIAL='-----------------------------------------------
--------------------------------',
LENGTH=79,
ATTRB=(ASKIP,NORM,PROT),
OCCURS=5

Here OCCURS clause is having value 5, which helps in displaying 5 rows. You will need an array in your program to send the output to this map row by row.
Thanx,
ROHAN
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 Is CICS BMS logic on z/OS different ... Andi1982 CICS 2 Fri Dec 01, 2017 1:56 pm
No new posts How to get complete URL from CICS Con... mbattu CICS 1 Tue Nov 14, 2017 11:59 pm
No new posts Integrating CICS applications craig2020 CICS 1 Sun Oct 29, 2017 6:49 pm
No new posts ASP3 ABEND IN CICS Vedant CICS 0 Fri Oct 20, 2017 3:18 pm
No new posts Identifying Interfaces in CICS/mainframe Ashishpanpaliya CICS 5 Fri Oct 13, 2017 3:21 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us