Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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. Cobol to fetch the content by using s... arunc55 COBOL Programming 4 Fri Nov 17, 2017 1:25 pm
No new posts VBS and VB, COBOL syntax is the same ... natt.sut COBOL Programming 3 Sun Nov 12, 2017 6:36 am
No new posts COBOL - EXIT statement weird behavior anthony.pangestu COBOL Programming 0 Fri Oct 27, 2017 9:57 am
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us