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

Pointers in CICS


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
vamseepotti

New User


Joined: 21 Oct 2003
Posts: 45

PostPosted: Sun Oct 02, 2005 5:00 pm
Reply with quote

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
View user's profile Send private message
mallikiran

New User


Joined: 07 Sep 2005
Posts: 49

PostPosted: Mon Oct 03, 2005 6:16 pm
Reply with quote

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
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