selvam
New User
Joined: 06 Aug 2003 Posts: 2 Location: West CIT Nagar,
|
|
|
|
hi all,
is it possible, we can do search all in subscripted array.
if it is possible means how we sort the subscripted table/array.
thanks in advance.
selvam |
|
mdtendulkar
Active User
Joined: 29 Jul 2003 Posts: 237 Location: USA
|
|
|
|
Hello selvam,
Following is the excerpt from the COBOL Manual...
Quote: |
To do serial searches, use SEARCH and indexing. For variable-length tables, you can use PERFORM with subscripting or indexing.
To do binary searches, use SEARCH ALL and indexing ONLY. |
Hope this helps
Regards
Mayuresh Tendulkar |
|