| SAS Component Language Dictionary |
| Category: | SAS Table |
| Syntax | |
| Details | |
| Example | |
| See Also |
Syntax |
| sysrc=IDELETE(table-id,key-name); |
contains the return code for the operation:
| 0 | |
0 |
is the identifier that was assigned when the table was opened. If table-id is invalid, the program halts.
| Details |
In order to delete an index for a SAS table, you must open the table in UTILITY mode (see OPEN for details).
You can also delete indexes using
| Example |
Delete an index for the SAS table WORK.INVOICE. The name of the index key is ITEMTYPE.
tableid=open('work.invoice','v'); rc=idelete(tableid,'itemtype');
| See Also |
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.