A query to a table in MIDAS, using the command SELECT/TABLE, will generate a subset of the original table. In the current version, the selected subset is defined by a flag associated with each row in the table that is handled in a consistent way by all the system commands.
In order to maintain this consistency, it is recommended that new application programs accessing the information in a given row, will read this flag, using the routine TBSGET (TCSGET), to test if the corresponding row belongs to the current - active - subtable.
The flag corresponding to a given row is updated with the routine TBSPUT (TCSPUT).
To select all rows in the table use the routine TBSINI (TCSINI).