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

Usage of pointer


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
nilaksh92

New User


Joined: 16 Mar 2015
Posts: 8
Location: Chennai

PostPosted: Mon Mar 16, 2015 12:53 pm
Reply with quote

Hello everyone,


I am new to mainframe world.

I am trying to get data at a particular address using pointer in cobol.

Example: I have an address in one variable, i want to know the data at that address using pointer.

Is there any way to do the same?

Thanks in advance.
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2504
Location: Atlanta, Georgia, USA

PostPosted: Mon Mar 16, 2015 4:24 pm
Reply with quote

Is the pointer-address pointing to data in your program or another program?

What version/release of COBOL are you using?
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7311
Location: Inside the Matrix

PostPosted: Mon Mar 16, 2015 5:10 pm
Reply with quote

I think you need to be very clear about what it is you are trying to do.

We don't need to specifically use POINTERs very often, so maybe there is a better way to do what you want (with COBOL doing all the pointering without you having to know).
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts DB2 group member usage DB2 0
No new posts Any limit on usage of cursors ? DB2 1
No new posts Usage of processor directive and firs... PL/I & Assembler 4
No new posts usage of CASE in WHERE clause DB2 10
No new posts Usage of pre-processor statement in p... PL/I & Assembler 1
Search our Forums:

Back to Top