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
 

 

Whats SET address in cobol

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

New User


Joined: 27 May 2006
Posts: 2

PostPosted: Sat Jul 08, 2006 8:14 pm    Post subject: Whats SET address in cobol
Reply with quote

Hi,
can any one please give the brief description of set address in cobol.I know the set index and how to use it in one dimesional array.
Back to top
View user's profile Send private message

smile_rajeev

New User


Joined: 22 Apr 2005
Posts: 24

PostPosted: Tue Sep 19, 2006 12:03 pm    Post subject: Re: set address in cobol
Reply with quote

HI eswar123,
U can use pointer concept in cobol to use the Set address.

Eg:
In Linkage section

01 ws-pointer usage is Pointer
01 ws-var1 pic x(05).
In procedure divison
U can assign the address of ws-var1 to Ws-pointer variable.
Ws-pointer which holds the starting address of ws-var1. using

Set address of ws-var1 to ws-pointer.

Hope this gives u a idea how to use SET address.

Rajeev
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
This topic is locked: you cannot edit posts or make replies. Full Time COBOL Software Development ... shally Mainframe Jobs 0 Fri Jan 20, 2017 5:24 am
This topic is locked: you cannot edit posts or make replies. COBOL Software Development Lead at Fi... shally Mainframe Jobs 0 Fri Jan 20, 2017 5:21 am
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm


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