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
 

 

Address Of and Usage as Pointer

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
ap_mainframes

Active User


Joined: 29 Dec 2005
Posts: 181
Location: Canada

PostPosted: Mon Apr 17, 2006 2:51 pm    Post subject: Address Of and Usage as Pointer
Reply with quote

Hi,
I want to know whats the diffrence between ' Address of ' clause in COBOL and 'Usage as pointer' in COBOL.

For example I am passing two variables/records from Program A to program B.
I want to get the address of second record.
How can I do that using the above two clauses???

Thanks,
ap_mainframes.
Back to top
View user's profile Send private message

BuildersHeaven

New User


Joined: 17 Apr 2006
Posts: 2

PostPosted: Mon Apr 17, 2006 3:58 pm    Post subject:
Reply with quote

You can use the "Address of" to assign a variable defined as "Pointer", I suppose...

The use of Pointers in cobol is not so advanced, I suggest to you to only limitate to the Linkage area.
Back to top
View user's profile Send private message
ap_mainframes

Active User


Joined: 29 Dec 2005
Posts: 181
Location: Canada

PostPosted: Tue Apr 18, 2006 9:27 am    Post subject:
Reply with quote

This is not very clear..
Any examples/documents you can give on this???

ap_mainframes
Back to top
View user's profile Send private message
r2k1984

New User


Joined: 21 Jun 2005
Posts: 69
Location: chennai

PostPosted: Thu Apr 20, 2006 5:27 pm    Post subject: hai
Reply with quote

hai
ithink there is a idetifier named set ,by which is used to get the address of the variable very speedly.s use of these cammonds are accepted and the pointer gives the address of the cariable.but while searching at the first time the set variable finds it that the pointer variable
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 IP Address of workstation martin9 CICS 3 Fri Jun 23, 2017 7:39 pm
No new posts )SEL and )ENDSEL usage cvnlynn TSO/ISPF 4 Thu Jun 15, 2017 1:15 am
No new posts RC 20 for Address ISPEXEC "ISRED... pkmurali CLIST & REXX 3 Sun Apr 16, 2017 11:30 pm
No new posts Need inputs on Space requirement and... ashek15 IMS DB/DC 0 Sat Apr 01, 2017 8:26 am
No new posts execute APP if they are not ADDRESS T... italo_pm CLIST & REXX 3 Fri Aug 12, 2016 2:15 am


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