View previous topic :: View next topic
|
Author |
Message |
VENKATA999 Warnings : 2 New User
Joined: 05 Jan 2006 Posts: 44
|
|
|
|
Hi Friends ,
we all know indexname need not declare in any section of cobol . Just we need to name it . If that is so , where it will store . what is the picture clause for indexname .
ex : 01 ws-num .
02 ws-num1 pic 9(4) occurs 10 times indexed by a1 .
where a1 is the index name , Please answer in this context . |
|
Back to top |
|
|
gowtham_1982 Warnings : 1 Active User
Joined: 02 Dec 2005 Posts: 109
|
|
|
|
Hi venkata,
77 a1 usage index. its the WS section declaration of an INDEX variable. please note that there is no PIC clause specification for it. basically, USAGE INDEX is a combination of COMP-1 or 2 data item and DISPLAY data item.
i hope my answer helps.
corrections welcomed.
gowtham |
|
Back to top |
|
|
|