I have two CICS programs A & B. A calls program B.
B has a occurs clause & indexed by b-indx. The whole table is in linkage section. At the time of second call, the b-indx is set back to 0. How can I restore that value.
Ex; pgm A
..
..
exec cics link('b')
commarea(linkb).
Pgm B
..
..
linkage section
01 table1.
05 tbl occurs 100 times indexed by ws-tbl-indx
10 field1 value pic x(10)
10 field2 value pic x(05).
procedure division.
..
..
Thanks, Jani
B has a occurs clause & indexed by b-indx. The whole table is in linkage section. At the time of second call, the b-indx is set back to 0. How can I restore that value.
Ex; pgm A
..
..
exec cics link('b')
commarea(linkb).
Pgm B
..
..
linkage section
01 table1.
05 tbl occurs 100 times indexed by ws-tbl-indx
10 field1 value pic x(10)
10 field2 value pic x(05).
procedure division.
..
..
Thanks, Jani