View previous topic :: View next topic
|
Author |
Message |
Vinay N.G
New User
Joined: 15 Sep 2008 Posts: 36 Location: Bangalore
|
|
|
|
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 |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
What is populating the fillers?
What does the mapset ABCD look like? |
|
Back to top |
|
|
Earl Haigh
Active User
Joined: 25 Jul 2006 Posts: 475
|
|
|
|
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 |
|
|
|