View previous topic :: View next topic
|
Author |
Message |
eswar123
New User
Joined: 27 May 2006 Posts: 2
|
|
|
|
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 |
|
|
smile_rajeev
New User
Joined: 22 Apr 2005 Posts: 24
|
|
|
|
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 |
|
|
|