View previous topic :: View next topic
|
Author |
Message |
ap_mainframes
Active User
Joined: 29 Dec 2005 Posts: 181 Location: Canada
|
|
|
|
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 |
|
|
BuildersHeaven
New User
Joined: 17 Apr 2006 Posts: 2
|
|
|
|
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 |
|
|
ap_mainframes
Active User
Joined: 29 Dec 2005 Posts: 181 Location: Canada
|
|
|
|
This is not very clear..
Any examples/documents you can give on this???
ap_mainframes |
|
Back to top |
|
|
r2k1984
New User
Joined: 21 Jun 2005 Posts: 69 Location: chennai
|
|
|
|
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 |
|
|
|