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: 2501
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: 7309
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 Moving Or setting POINTER to another ... COBOL Programming 2
No new posts STEM usage in REXX CLIST & REXX 14
No new posts z/OS Modules Usage report using SMF 42 DFSORT/ICETOOL 2
No new posts Concatenate 2 fields (usage national)... COBOL Programming 2
No new posts JCL and TAPE drives: how to maximize ... JCL & VSAM 9
Search our Forums:

Back to Top