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
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Execute TSO ACF commands from COBOL-I... supreethi.srid TSO/ISPF 0 Tue Feb 21, 2017 5:19 pm
No new posts Mainframe Interview Questions CICS,CO... akshathan Mainframe Interview Questions 6 Thu Feb 09, 2017 6:38 pm
No new posts Submit job from Cobol with input data abdulrafi COBOL Programming 4 Wed Feb 01, 2017 12:41 pm
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


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