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

Whats SET address in cobol


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

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
Search our Forums:

Back to Top