View previous topic :: View next topic
|
Author |
Message |
vamseepotti
New User
Joined: 21 Oct 2003 Posts: 45
|
|
|
|
Hi,
I have one doubt regarding Pointers in CICS.
I need clear picture regarding this. In my program coded like this.
01 WS-GLINK.
03 WS-NO-OF-PARAMETERS PIC S9(8) COMP.
03 WS-PARAMETER-ADDRESS POINTER OCCURS 10 TIMES.
Then setting like below
SET WS-PARAMETER-ADDRESS (1) TO ADDRESS OF NNN-REC
Please help me
Vamsee. |
|
Back to top |
|
|
mallikiran
New User
Joined: 07 Sep 2005 Posts: 49
|
|
|
|
The use of pointers does not change just because the program is a CICS program.
vamseepotti wrote: |
SET WS-PARAMETER-ADDRESS (1) TO ADDRESS OF NNN-REC
|
In the above instance, I am guessing that before this operation has been performed, the address of a record has been obtained using
EXEC CICS READ/READNEXT
DATASET(XYZ)
RIDFLD(RECORD KEY)
SET(WS-PARAMETER-ADDRESS(1))
RESP(WS-RESP)
END-EXEC.
In which case, the address of the record that has been read from the VSAM file is stored in WS-PARAMETER-ADDRESS(1) and subsequently one of the LINKAGE SECTION group variable is mapped to that address. |
|
Back to top |
|
|
|