View previous topic :: View next topic
|
Author |
Message |
mohanraj841
New User
Joined: 19 Oct 2007 Posts: 1 Location: Kochi
|
|
|
|
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 |
|
|
Binop B
Active User
Joined: 18 Jun 2009 Posts: 407 Location: Nashville, TN
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
rohanthengal
Active User
Joined: 19 Mar 2009 Posts: 206 Location: Globe, India
|
|
|
|
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 |
|
|
|