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

Address Of and Usage as Pointer


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Routing command Address SDSF to other... TSO/ISPF 2
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
Search our Forums:

Back to Top