Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Usage of pointer

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: Usage of pointer
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Mon Mar 16, 2015 4:24 pm    Post subject: Reply to: Usage of pointer
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7236

PostPosted: Mon Mar 16, 2015 5:10 pm    Post subject: Reply to: Usage of pointer
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts READQ TS returning inconsistent addre... moezbud CICS 14 Wed May 04, 2016 1:09 am
No new posts How can amount of the Storage Usage b... esduman61 CICS 6 Wed Mar 09, 2016 1:19 pm
No new posts Controlling usage of resources by tasks raja1128 CICS 3 Fri Nov 06, 2015 9:53 am
No new posts TDQ & its usage as ATI akodakka CICS 3 Sat Oct 17, 2015 6:04 pm
No new posts XPED - When command usage anand1204 Compuware & Other Tools 3 Tue Sep 15, 2015 12:50 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us