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

Handling array in cics


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Vinay N.G

New User


Joined: 15 Sep 2008
Posts: 36
Location: Bangalore

PostPosted: Tue Mar 02, 2010 9:26 pm
Reply with quote

Hi,

In my code i am trying to send an array to the screen with the below code,

SEND MAP('ABCD') MAPSET('ABCD') FROM (WS-ARRAY)

Where WS-ARRAY is defined as below,

Code:
01  WS-ARRAY.                             
    02 FILLER                            PIC X(12).
    02 ALD-MAP-WS1.                                 
       05 ALD-LINE-WS1 OCCURS 10 TIMES.             
          10 FILLER                      PIC X(3). 
          10 WS-ABCD                 PIC X.     

Even the map is defined with occurs clause.
And the values to all occurances of WS-ABCD is populated in the code before sending the map.

But i am not able to see any values on the screen after executing my code.

Please let me know if i need to take care of anything else as this is my frst cics program.

Thanks in Advance
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: Tue Mar 02, 2010 9:38 pm
Reply with quote

What is populating the fillers?

What does the mapset ABCD look like?
Back to top
View user's profile Send private message
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Wed Mar 03, 2010 3:31 am
Reply with quote

WS-ARRAY should redefine map ABCD, and then

move low values to ws-array

move your data values to ws-array

exec cics send map('ABCD') mapset('ABCD')
[/quote]
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 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
No new posts How to avoid duplicating a CICS Web S... CICS 0
Search our Forums:

Back to Top