SAS Component Language Dictionary |
Category: | SAS Table |
Syntax | |
Details | |
Example | |
See Also |
Syntax |
options=IOPTION(table-id,key-name); |
contains options for the specified index key-name, separated by a blank:
is the identifier that was assigned when the table was opened. If table-id is invalid, the program halts.
Details |
An index is an auxiliary data structure used to speed up the selection of records that are specified by the value of a column.
Example |
Return the options of the defined key index ITEMTYPE for the SAS table WORK.DATAONE. If the value returned to the OPTIONS column is blank, then the message returned by the SYSMSG function is displayed on the message line.
tableid=open('work.invoice','i'); options=ioption(tableid,'itemtype'); if (options=' ') then _msg_=sysmsg();
See Also |
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.