Module Version
1.0
(28-Feb-1991)
Module TCA
Author: ESO-IPG, Garching
Language: C
Classification: Table (3-D) Interfaces
Source file: $MIDASHOME/$MIDVERS/libsrc/tbl/tca.c
Environment:
Comments:
This module contains the routines to handle the access to table elements, which can be arrays . Access to elements is done by column, row and index numbers; an array of elements is specified by column, row, index and length. The length is taken as the maximum possible when this argument is zero. element arrays in the table can be integer (I*1, i*2 or I*4), float, double precision or character string data types, as defined during the creation of the columns. Implicit conversion of the element value is done automatically if the input/output is done with a routine not corresponding to the data type.
The functions provided by this module are:
Main arguments used by the routines are:
History:
[1.0] 14-Dec-1990: Creation (Francois Ochsenbein)
Function
int tid | IN : table id |
int row | IN : row number |
int col | IN : column number |
char **addr | OUT: element adress |
Function
int tid | IN : table id |
char *address | IN: column address |
Function
int tid | IN : table id |
char *abin | IN : values to edit |
int col | IN : column number |
int index | IN : index number |
int items | IN : how many |
char *buffer | OUT: edited value |
Function
int tid | IN : table id |
char *abin | OUT: value to edit |
int col | IN : column number |
int index | IN : index number |
int items | IN : how many |
char *buffer | IN : edited value |
Function
int tid | IN : table id |
int row | IN : row number |
int col | IN : column number |
int index | IN : index number |
int items | IN : how many |
char *value | OUT: actual value |
Function
int tid | IN : table id |
int row | IN : row number |
int col | IN : column number |
int index | IN : index number |
int items | IN : how many |
double *value | OUT: actual values |
Function
int tid | IN : table id |
int row | IN : row number |
int col | IN : column number |
int index | IN : index number |
int items | IN : how many |
int *value | OUT: actual value |
Function
int tid | IN : table id |
int row | IN : row number |
int col | IN : column number |
int index | IN : index number |
int items | IN : how many |
float *value | OUT: actual value |
Function
int tid | IN : table id |
int row | IN : row number |
int col | IN : column number |
int index | IN : index number |
int items | IN : how many |
Function
int tid | IN : table id |
int row | IN : row number |
int col | IN : column number |
int index | IN : index number |
int items | IN : how many |
char *value | IN : actual value |
Function
int tid | IN : table id |
int row | IN : row number |
int col | IN : column number |
int index | IN : index number |
int items | IN : how many |
double *value | IN : actual value |
Function
int tid | IN : table id |
int row | IN : row number |
int col | IN : column number |
int index | IN : index number |
int items | IN : how many |
int *value | IN : actual value |
Function
int tid | IN : table id |
int row | IN : row number |
int col | IN : column number |
int index | IN : index number |
int items | IN : how many |
float *value | IN : actual value |
Function
int tid | IN : table id |
int row | IN : starting row number |
int col | IN : column number |
int index | IN : index number |
int items | IN : how many items to compare |
char *value | IN : Comparison vector |
int *next | OUT: found row number |
Function
int tid | IN : table id |
int row | IN : starting row number |
int col | IN : column number |
int index | IN : index number in col |
int items | IN : How many to compare |
double *value | IN : Comparison vector |
int *next | OUT: found row number |
Function
int tid | IN : table id |
int row | IN : starting row number |
int col | IN : column number |
int index | IN : index number in col |
int items | IN : How many to compare |
int *value | IN : Comparison vector |
int *next | OUT: found row number |
Function
int tid | IN : table id |
int row | IN : starting row number |
int col | IN : column number |
int index | IN : index number in col |
int items | IN : How many to compare |
float *value | IN : Comparison vector |
int *next | OUT: found row number |
External references:
<tblsys.h><tbldef.h><midas_def.h><tblerr.h><atype.h><macrogen.h>
<math.h>
Module Version
3.4
(28-Feb-1991)
Module TCC
Author: J.D.Ponz IPG-ESO - Garching
Language: C
Classification: table interface (Design 2.0)
Source file: $MIDASHOME/$MIDVERS/libsrc/tbl/tcc.c
Environment:
Comments:
This module contains the routines to handle columns in a table. Access to the table is done through the table identifier, returned by the routines TCTOPN and TCTINI. Access to a column is done through the column number, given by the routines TCCINI, TCCSER and TCLSER.
The following main functions are defined in this module:
Main arguments used by the routines are:
History:
[1.0] 25-Mar-1987 Implementation JDP
[1.1] 20-Oct-1987 Modify calling sequence
[1.2] 23-Nov-1987 New SC calling sequence
[1.3] 11-Apr-1988 Include new routines without type conversion. Character string always ending with a ' 6#60'. New SC calling sequence.
[1.4] 26-Sep-1988 Modify calling sequence in TCCINI to include data types and array length.
[3.0] 01-Jul-1990 New Version with Arrays / Elementary IO Added TCCSEL routine (selection of Columns)
[3.1] 26-Sep-1990 Removed bug in TCCSRT
[3.2] 06-Dec-1990 Force New Version as soon as something modified.
[3.3] 18-Dec-1990 FO: Take into account the number of selected rows.
[3.4] 23-Feb-1991 Sort always writes NULL values at the end.
Function
int tid | IN: table id number |
int column | IN: column number |
int *ncol | OUT:actual number of columns |
Function
int tid | IN: table id number |
int dtype | IN: column data type (Midas) |
int alen | IN: no. of array items |
char *form | IN: column form |
char *unit | IN: column unit |
char *label | IN: column label |
int *column | OUT:column number |
The routine provides an overflow mechanism when the new column exceeds the allocated space.
Function
int tid | IN: table id number |
int column | IN: column number |
char **address | OUT:column address |
Note: This routine only works on tables stored by columns (transposed format, parameter F_TRANS in TCTINI).
Function
int tid | IN : table id |
char *text | IN : textual designation |
int max_cols | IN: Size of cols & flags arrays |
int *cols | OUT: column numbers |
int *flags | OUT: column flags (in brackets) |
int *found_cols | OUT: How many columns were found |
where "col" may be #number or :label. The Sequence column may be designated by # or :
Function
int tid | IN : table id |
char *colref | IN : column reference |
int *column | OUT: column number |
Function
int tid | IN : table id |
int nc | IN : number of columns |
int column | IN : column numbers |
int sortfl | IN : sort flag |
Function
int tid | IN: table id number |
char *address | IN: column address |
External references:
<tblsys.h><tbldef.h><tblerr.h><atype.h><macrogen.h>
Module Version
3.3
(24-Feb-1991)
Module TCD
Author: IPG-ESO Garching
Language: C
Classification: table interface (Design version 2.0)
Source file: $MIDASHOME/$MIDVERS/libsrc/tbl/tcd.c
Environment:
Comments:
This module contains the routines to handle standard table descriptors:
Case sensitivity for label names may be turned on via TCOSET ("label_case", 1) or off via TCOSET ("label_case", 0).
Main arguments used by the routines are:
History:
[1.0] 25-Mar-1987 Implementation J.D. Ponz
[1.1] 25-Aug-1987 Include TCSPUT
[1.2] 20-Oct-1987 Calling sequence
[1.3] 23-Nov-1987 New SC calling sequence
[1.4] 11-Apr-1988 New SC calling sequence
[1.5] 11-Jan-1989 Include transposed file format
[1.6] 11-Jun-1989 New routines TCSCNT, TCDGET
[1.7] 14-Oct-1989 ibase = 1 in TCFSET ( not yet implemented)
[1.8] 02-Jan-1990 TCLSER modified (null terminator)
[3.0] 01-Jul-1990 New Version with Arrays / Elementary IO New entry points TCBGET / TCOSET / TCOGET
[3.1] 28-Oct-1990 Added TCFED (Edition bin -> char) and TCFDV (Conversion char->bin)
[3.2] 07-Dec-1990 Added TCVERS (Version)
[3.3] 18-Dec-1990 Selected rows are stored in TBLCONTR descriptor. Added TCSSET routine to write the descriptor.
Function
int tid | IN : table ident |
int column | IN : column number |
int *dtype | OUT: data type |
int *items | OUT: array size |
int *bytes | OUT: storage required |
Function
int tid | IN : table id |
int *store | OUT: physical format on disk |
Function
int tid | IN : table ident |
int column | IN : column number |
char *form | OUT: column format |
int *len | OUT: field length |
int *dtype | OUT: data type |
Function
int tid | IN : table id |
int column | IN : column number |
char *form | IN : column format |
Function
int tid | IN : table id |
int *column | OUT: number of column |
int *row | OUT: number of rows |
int *nsort | OUT: sorted column |
int *allcol | OUT: number of allocated words per record |
int *allrow | OUT: number of allocated rows |
Function
int tid | IN : table id |
int column | IN: number of columns |
int row | IN: number of rows |
Function
int tid | IN : table id |
int *column | OUT: number of column |
Function
int tid | IN : table id |
int column | IN : column number |
Function
int tid | IN : table id |
int column | IN : column number |
char *label | OUT: label name |
Function
int tid | IN : table id |
int column | IN : column number |
char *label | IN : label name |
Function
int tid | IN : table id |
char *label | IN : label name |
int *column | OUT: column number |
Function
int tid | IN : table id |
int row | IN: row number |
int col | IN: column number |
int status | IN: Status |
char *text | IN: Text to add |
Function
char *op_name | IN : Name of option |
int *value | OUT: Option's value |
Function
char *op_name | IN : Name of option |
int value | IN : Option's value |
Function
int tid | IN : table id |
int row | IN : row number |
int *value | OUT: selection flag (TRUE if selected) |
Function
int tid | IN : table id |
int row | IN : row number |
int *value | IN: selection flag |
Function
int tid | IN : table id |
int *count | out: number of selected entries |
Function
int tid | IN : table id |
Function
int tid | IN : table id |
char *line | OUT: selection info |
Function
int tid | IN : table id |
char *line | IN : selection info |
Function
int tid | IN : table id |
int column | IN : column number |
char *unit | OUT: unit name |
Function
int tid | IN : table id |
int column | IN : column number |
char *unit | IN : unit name |
Function
int tid | IN : table id |
External references:
<tblsys.h><tbldef.h><macrogen.h><atype.h><midas_def.h>
Module Version
3.3
(28-Feb-1991)
Module TCE
Author: IPG-ESO Garching
Language: C
Classification: table interface.
Source file: $MIDASHOME/$MIDVERS/libsrc/tbl/tce.c
Environment:
Comments:
This module contains the routines to handle table elements. Access to elements is done by column and row numbers. Elements in the table can be integer, float, double precision and character string data types, as defined during the creation of the columns. Implicit conversion of the element value is done automatically if the input/output is done with a routine not corresponding to the data type.
The functions provided by this module are:
Main arguments used by the routines are:
In case of arrays, only the first element is returned for non-character data.
History:
[1.0] 25-Mar-1987 Implementation J.D. Ponz
[1.1] 21-Oct-1987 New calling sequence
[1.2] 11-Apr-1988 New calling sequence
[1.3] 26-Sep-1988 Use pointers for TCEWRx
[1.4] 16-Jan-1989 Include record file organization
[3.0] 01-Jul-1990 New Version with Arrays / Elementary IO
[3.1] 27-Sep-1990 Added TCEUNM
[3.2] 28-Oct-1990 Added TCEEDC (Edit, similar to TCERDC) and TCETRC (similar to TCEWRC)
[3.3] 18-Dec-1990 FO: Take into account the number of selected rows.
Function
int tid | IN : table id |
int row | IN : row number |
int column | IN : column number |
Function
int tid | IN: table id number |
int row | IN: row number |
int column | IN: column number |
char **address | OUT: element adress |
int *null | OUT: 1 if element null |
Function
int tid | IN : table id |
char *abin | IN : value to edit |
int column | IN : column number |
char *buffer | OUT: edited value |
Function
int tid | IN : table id |
int row | IN : row number |
int column | IN : column number |
char *value | OUT: actual value |
int *null | OUT: null flag |
Function
int tid | IN : table id |
int row | IN : row number |
int column | IN : column number |
double *value | OUT: actual value |
int *null | OUT: null flag |
Function
int tid | IN : table id |
int row | IN : row number |
int column | IN : column number |
int *value | OUT: actual value |
int *null | OUT: null flag |
Function
int tid | IN : table id |
int row | IN : row number |
int column | IN : column number |
float *value | OUT: actual value |
int *null | OUT: null flag |
Function
int tid | IN : table id |
char *abin | OUT: value to edit |
int column | IN : column number |
char *buffer | IN : edited value |
Function
int tid | IN : table id |
int row | IN : row number |
int column | IN : column number |
char *value | IN : actual value |
Function
int tid | IN : table id |
int row | IN : row number |
int column | IN : column number |
double *value | IN : actual value |
Function
int tid | IN : table id |
int row | IN : row number |
int column | IN : column number |
int *value | IN : actual value |
Function
int tid | IN : table id |
int row | IN : row number |
int column | IN : column number |
float *value | IN : actual value |
Function
int tid | IN : table id |
int column | IN : column number |
char *value | IN : value to search |
int start | IN : starting position in field |
int len | IN : how many bytes to compare |
int first | IN : starting row |
int *next | OUT: found row number, -1 if not found |
Note: A zero value for error is used for location on non-character columns.
Function
int tid | IN : table id |
int column | IN : column number |
double value | IN : value to search |
double verror | IN : tolerance |
int first | IN : starting row number |
int *next | OUT: found row number, -1 if not found |
Note: The routine can be used only with columns containing numerical data, implicit conversion of arguments is done if required.
Function
int tid | IN : table id |
int column | IN : column number |
int value | IN : value to search |
int verror | IN : tolerance |
int first | IN : starting row number |
int *next | OUT: found row number, -1 if not found |
Note: The routine can be used only with columns containing numerical data, implicit conversion of arguments is done if required.
Function
int tid | IN : table id |
int column | IN : column number |
float value | IN : value to search |
float verror | IN : tolerance |
int first | IN : starting row number |
int *next | OUT: found row number, -1 if not found |
Function
int tid | IN: table id number |
char *address | IN: column address |
External references:
<tblsys.h><tbldef.h><midas_def.h><tblerr.h><atype.h><macrogen.h>
<math.h>
Module Version
3.0
(24-Feb-1991)
Module TCM
Author: J.D.Ponz IPG-ESO Garching
Language: C
Classification: table interface (Design 2.0)
Source file: $MIDASHOME/$MIDVERS/libsrc/tbl/tcm.c
Environment:
Comments:This module contains the routines handling the table structure as a matrix. The following operations can be performed:
- Allocate memory for the matrix (TCMALL)
- Release memory associated to the matrix (TCMFRE)
- Copy (selected) table entries into the matrix, with implicit type conversion (TCMGET)
- Copy the matrix into the (selected entries of the) table (TCMPUT)
- Obtain the bit pattern used for the representation of NULL values in memory (TCMNUL). History:
[1.0] 25-Mar-1988 Implementation JDP
[3.0] 01-Jul-1990 New Version with Arrays / Elementary IO
Function
char *type | IN: column type |
int ncol | IN: number of columns |
int nrow | IN: number of rows |
int *pointer | OUT: pointer to the allocated matrix |
Function
int *pointer | IN: pointer to the allocated matrix |
Function
int tid | IN : table id |
int *pointer | IN : pointer to the allocated matrix |
int *nac | OUT: actual number of columns |
int *nar | OUT: actual number of rows |
Function
int tid | IN : table id |
int *pointer | IN : pointer to the allocated matrix |
int nac | IN : actual number of columns |
int nar | IN : actual number of rows |
Function
float *tblsel | OUT: selection flag on |
double *tdtrue | OUT: double precision true |
double *tdfalse | OUT: double precision false |
Function
int *inull | OUT: integer null value |
float *rnull | OUT: float null value |
double *dnull | OUT: double null value |
External references:
<tblsys.h><tbldef.h><tblerr.h>
Module Version
3.2
(24-Feb-1991)
Module TCR
Author: IPG-ESO Garching
Language: C
Classification: table interface (old table system)
Source file: $MIDASHOME/$MIDVERS/libsrc/tbl/tcr.c
Environment:
Comments:
This module contains the routines to handle table rows. Access to elements is done by column and row numbers. Elements in the table can be integer, float, double precision and character string data types, as defined during the creation of the columns. Implicit conversion of the element value is done automatically if the input/output is done with a routine not corresponding to the data type.
The functions provided by this module are:
Main arguments used by the routines are:
History:
[1.0] 25-Mar-1987 Implementation J.D. Ponz
[1.1] 21-Oct-1987 Modification of the calling sequence
[1.2] 11-Apr-1988 Modification of the calling sequence
[1.3] 11-Jan-1989 Include record file organization
[1.4] 16-Oct-1989 indexing (ifirst-1)
[3.0] 01-Jul-1990 New Version with Arrays / Elementary IO Added Routine TCRSEL
[3.1] 27-Sep-1990 Added TCRMAP TCRUMP
[3.2] 18-Dec-1990: Take into account the number of selected rows.
Function
int tid | IN : table id |
int row | IN : row number |
Function
int tid | IN : table id |
int row | IN : row number |
int nc | IN : number of cols. |
int *column | IN : column numbers |
char *value | OUT: buffer for actual value |
int *null | OUT: null flag |
Function
int tid | IN : table id |
int row | IN : row number |
int nc | IN : number of cols. |
int *column | IN : column numbers |
double *value | OUT: buffer for actual values |
int *null | OUT: buffer for null flags |
Function
int tid | IN : table id |
int row | IN : row number |
int nc | IN : number of cols. |
int *column | IN : column numbers |
int *value | OUT: buffer for actual values |
int *null | OUT: buffer for null flags |
Function
int tid | IN : table id |
int row | IN : row number |
int nc | IN : number of cols. |
int *column | IN : column numbers |
float value | OUT: buffer for actual values |
int null | OUT: buffer for null flags |
Function
int tid | IN : table id |
char *text | IN : textual designation |
int max_ranges | IN: Size of lower& upper bound arrays |
int *lower_bounds | OUT: lower bounds of found ranges |
int *upper_bounds | OUT: upper bounds of found ranges |
int *found_ranges | OUT: How many ranges were found |
where "range" is @lower_row[..[upper_row]]
Example: @1..10,@20,@100.. for rows number 1 to 10, 20 and over 100
Function
int tid | IN : table id |
int row | IN : row number |
int nc | IN : number of cols. |
int *column | IN : column numbers |
char *value | IN : values to write |
Function
int tid | IN : table id |
int row | IN : row number |
int nc | IN : number of cols. |
int *column | IN : column numbers |
double *value | IN : array with values |
Function
int tid | IN : table id |
int row | IN : row number |
int nc | IN : number of cols. |
int *column | IN : column numbers |
int *value | IN : data array |
Function
int tid | IN : table id |
int row | IN : row number |
int nc | IN : number of cols. |
int *column | IN : column numbers |
float *value | IN : data array |
External references:
<tblsys.h><tbldef.h><tblerr.h><atype.h><macrogen.h><math.h>
Module Version
3.6
(25-Feb-1991)
Module TCT
Author: IPG-ESO Garching
Language: C
Classification: table interface
Source file: $MIDASHOME/$MIDVERS/libsrc/tbl/tct.c
Environment:
Comments:
This module contains the routines to handle tables as a whole. Table initialization and open table functions return the table identification tid, used by other table routines.
Tables are physically stored on disk in two different formats: by records, corresponding to the natural way of storing sequentially the rows, and transposed, where all the values of a single variable - column - are stored together. It is the responsibility of the user to decide the physical format when initializing the table file.
The functions provided by this module are:
Main arguments used by the routines are:
The access mode may be forced to mapping with the F_MAP_FORCE option, or to elementary i/o mode with the F_EIO_FORCE option. The default is EIO mode for tables larger than TBL_EIO_LIMIT bytes, a configuration parameter which may be changed with TCOSET
History:
[1.0] 25-Mar-1987 Definition J.D. Ponz
[1.1] 21-Oct-1987 Modification of calling sequence
[1.2] 23-Nov-1987 New SC calling sequence
[1.3] 11-Apr-1988 New SC calling sequence
[3.0] 01-Jul-1990 New Version with Arrays / Elementary IO
[3.1] 27-Sep-1990 Added TCTFLU TCTMAP
[3.2] 17-Oct-1990 Added TCTID (Find ID from Name)
[3.3] 29-Oct-1990 Corrected bug in transformation old fmt=>new
[3.4] 06-Dec-1990 Keep Number identical to SC routines. Force change for new NULL values
[3.5] 18-Dec-1990: Added descriptor containaing number of selected rows.
[3.6] 24-Feb-1991: Always close the table, even in read-only mode
Function
int tid | IN : table id |
Function
char *name | IN : Name of view to create |
char *refer_name | IN : Name of related table |
int mode | IN : creation mode (future) |
Function
int tid | IN : table id |
Function
char *name | IN: Name to look for |
Function
char *name | IN : table name |
int storage | IN : physical structure on disk |
int mode | IN : openning mode |
int allcol | IN : number of words per record alloc. |
int allrow | IN : number of rows allocated |
int *tid | MOD: table identifier (try to keep it) |
The mode may include modifiers F_MAP_FORCE to force the mapping, F_EIO_FORCE to force an elementary i/o mode, F_ALL_FORCE to force exact numbers of lines / cols. In this last case (F_ALL_FORCE), the number of physical columns to allocate may be given in the 2 leftmost bytes of mode, i.e. mode = (physical_columns*2**16 + F_ALL_FORCE + mode)
Function
int tid | IN : table id |
char **addr | OUT: Where table Mapped |
Function
char *name | IN : table name |
int mode | IN : openning mode |
int *tid | MOD: table identifier (try to keep it) |
The mode may include modifiers F_MAP_FORCE to force the mapping, or F_EIO_FORCE to force an elementary i/o mode.
External references:
<tblsys.h><tbldef.h><midas_def.h><tblerr.h><macrogen.h>
Module Version
[1.00]
(26-Apr-1989)
Module TBC
Author: J.D.Ponz ESO - Garching
Language: F77
Classification: table interfaces.
Source file: MID_DISK:['MIDASHOME'.'MIDVERS'.LIBSRC.FTOC]TBC.FOR
Environment:
Comments:Contains layer between FORTRAN TB interfaces and the TZ interfaces. Version using the length of character strings as an explicit argument. Module related to table columns. History:
[[1.00]] 880408: created
Subroutine
INTEGER TID | IN : table identifier |
INTEGER COLUMN | IN : column number |
INTEGER NC | OUT: actual number of columns |
INTEGER STATUS | OUT: status |
Subroutine
INTEGER TID | IN : table identifier |
INTEGER TYP | IN : column type |
INTEGER ALEN | IN : no. of items |
CHARACTER*(*) FORM | IN : column format |
CHARACTER*(*) UNIT | IN : column unit |
CHARACTER*(*) LABEL | IN : column label |
INTEGER COLUMN | OUT: column number |
INTEGER STATUS | OUT: status |
Subroutine
INTEGER TID | IN : table identifier |
INTEGER COLUMN | IN : column number |
INTEGER ADDRES | OUT: column address |
INTEGER STATUS | OUT: status |
Subroutine
INTEGER TID | IN : table identifier |
CHARACTER*(*) COLREF | IN : column reference |
INTEGER COLUMN | OUT: column number |
INTEGER STATUS | OUT: status |
Subroutine
INTEGER TID | IN : table identifier |
INTEGER NC | IN : number of columns to sort |
INTEGER COLUMN(NC) | IN : column numbers |
INTEGER SFLAG(NC) | IN : sort flag (>0 asc., <0 desc.) |
INTEGER STATUS | OUT: status |
External references:
MID_DISK:['MIDASHOME'.'MIDVERS'.INCL]ST_DEF.INC
MID_DISK:['MIDASHOME'.'MIDVERS'.INCL]ST_DAT.INC
Module Version
[1.00]
(26-Apr-1989)
Module TBD
Author: J.D.Ponz ESO - Garching
Language: F77
Classification: table interfaces.
Source file: MID_DISK:['MIDASHOME'.'MIDVERS'.LIBSRC.FTOC]TBD.FOR
Environment:
Comments:Contains layer between FORTRAN TB interfaces and the TZ interfaces. Version including the length of characters as explicit argument in the calling sequence. Module related to table descriptors. History:
[[1.00]] 880408: created
Subroutine
INTEGER TID | IN : table identifier |
INTEGER COLUMN | IN : column number |
CHARACTER*(*) FORM | OUT: column format |
INTEGER LFIELD | OUT: field length |
INTEGER TYP | OUT: column type |
INTEGER STATUS | OUT: status |
Subroutine
INTEGER TID | IN : table identifier |
INTEGER COLUMN | IN : column number |
CHARACTER*(*) FORM | IN : column format |
INTEGER STATUS | OUT: status |
Subroutine
INTEGER TID | IN : table identifier |
INTEGER COLUMN | OUT: number of defined columns |
INTEGER ROW | OUT: number of defined rows |
INTEGER NSC | OUT: sorted column |
INTEGER ACOL | OUT: number of words allocated per row |
INTEGER AROW | OUT: number of rows allocated |
INTEGER STATUS | OUT: status |
Subroutine
INTEGER TID | IN : table identifier |
INTEGER COLUMN | IN : number of defined columns |
INTEGER ROW | IN : number of defined rows |
INTEGER STATUS | OUT: status |
Subroutine
INTEGER TID | IN : table identifier |
INTEGER COLUMN | OUT: index of reference column |
INTEGER STATUS | OUT: status |
Subroutine
INTEGER TID | IN : table identifier |
INTEGER COLUMN | IN : index of reference column |
INTEGER STATUS | OUT: status |
Subroutine
INTEGER TID | IN : table identifier |
INTEGER COLUMN | IN : column number |
CHARACTER*(*) LABEL | OUT: column label |
INTEGER STATUS | OUT: status |
Subroutine
INTEGER TID | IN : table identifier |
INTEGER COLUMN | IN : column number |
CHARACTER*(*) LABEL | IN : column label |
INTEGER STATUS | OUT: status |
Subroutine
INTEGER TID | IN : table identifier |
CHARACTER*(*) LABEL | IN : column label |
INTEGER COLUMN | OUT: column number |
INTEGER STATUS | OUT: status |
Subroutine
INTEGER TID | IN : table identifier |
INTEGER ROW | IN : row number |
LOGICAL VALUE | OUT: selection flag |
INTEGER STATUS | OUT: status |
Subroutine
INTEGER TID | IN : table identifier |
INTEGER ROW | IN : row number |
LOGICAL VALUE | IN : selection flag |
INTEGER STATUS | OUT: status |
Subroutine
INTEGER TID | IN : table identifier |
INTEGER STATUS | OUT: status |
Subroutine
INTEGER TID | IN : table identifier |
INTEGER COLUMN | IN : column number |
CHARACTER*(*) UNIT | OUT: column unit |
INTEGER STATUS | OUT: status |
Subroutine
INTEGER TID | IN : table identifier |
INTEGER COLUMN | IN : column number |
CHARACTER*(*) UNIT | IN : column unit |
INTEGER STATUS | OUT: status |
External references:
MID_DISK:['MIDASHOME'.'MIDVERS'.INCL]ST_DEF.INC
MID_DISK:['MIDASHOME'.'MIDVERS'.INCL]ST_DAT.INC
Module Version
[1.02]
(26-Apr-1989)
Module TBE
Author: J.D.Ponz ESO - Garching
Language: F77
Classification: table interfaces.
Source file: MID_DISK:['MIDASHOME'.'MIDVERS'.LIBSRC.FTOC]TBE.FOR
Environment:
Comments:Contains layer between FORTRAN TB interfaces and the TZ interfaces. Version including the length of characters as explicit argument in the calling sequence. Module related to table elements. History:
[[1.00]] 880408: created
[[1.01]] 881012: temporary names for tbesrX
[[1.02]] 890112: Include routines TBESRx
Subroutine
INTEGER TID | IN : table identifier |
CHARACTER*(*) TYPE | IN : data type |
INTEGER ROW | IN : row number |
INTEGER COLUMN | IN : column number |
INTEGER VALUE(1) | OUT: table element |
LOGICAL NULL | OUT: null flag |
INTEGER STATUS | OUT: status |
Subroutine
INTEGER TID | IN : table identifier |
CHARACTER*(*) TYPE | IN : argument type |
INTEGER ROW | IN : row number |
INTEGER COLUMN | IN : column number |
INTEGER VALUE(1) | IN : table element |
INTEGER STATUS | OUT: status |
Subroutine
INTEGER TID | IN : table identifier |
INTEGER ROW | IN : row number |
INTEGER COLUMN | IN : column number |
INTEGER STATUS | OUT: status |
Subroutine
INTEGER TID | IN : table identifier |
INTEGER ROW | IN : row number |
INTEGER COLUMN | IN : column number |
CHARACTER*(*) VALUE | OUT: table element |
LOGICAL NULL | OUT: null flag |
INTEGER STATUS | OUT: status |
Subroutine
INTEGER TID | IN : table identifier |
INTEGER ROW | IN : row number |
INTEGER COLUMN | IN : column number |
DOUBLE PRECISION VALUE | OUT: table element |
LOGICAL NULL | OUT: null flag |
INTEGER STATUS | OUT: status |
Subroutine
INTEGER TID | IN : table identifier |
INTEGER ROW | IN : row number |
INTEGER COLUMN | IN : column number |
INTEGER VALUE | OUT: table element |
LOGICAL NULL | OUT: null flag |
INTEGER STATUS | OUT: status |
Subroutine
INTEGER TID | IN : table identifier |
INTEGER ROW | IN : row number |
INTEGER COLUMN | IN : column number |
REAL VALUE | OUT: table element |
LOGICAL NULL | OUT: null flag |
INTEGER STATUS | OUT: status |
Subroutine
INTEGER TID | IN : table identifier |
INTEGER ROW | IN : row number |
INTEGER COLUMN | IN : column number |
CHARACTER*(*) VALUE | IN : table element |
INTEGER STATUS | OUT: status |
Subroutine
INTEGER TID | IN : table identifier |
INTEGER ROW | IN : row number |
INTEGER COLUMN | IN : column number |
DOUBLE PRECISION VALUE | IN : table element |
INTEGER STATUS | OUT: status |
Subroutine
INTEGER TID | IN : table identifier |
INTEGER ROW | IN : row number |
INTEGER COLUMN | IN : column number |
INTEGER VALUE | IN : table element |
INTEGER STATUS | OUT: status |
Subroutine
INTEGER TID | IN : table identifier |
INTEGER ROW | IN : row number |
INTEGER COLUMN | IN : column number |
REAL VALUE | IN : table element |
INTEGER STATUS | OUT: status |
Subroutine
INTEGER TID | IN : table identifier |
INTEGER COLUMN | IN : column number |
CHARACTER*(*) VALUE | IN : string of characters |
INTEGER START | IN : starting field position |
INTEGER NB | IN : number of bytes in the field |
INTEGER FIRST | IN : row number to start searching |
INTEGER NEXT | OUT: row number of the element found |
INTEGER STATUS | OUT: status |
Subroutine
INTEGER TID | IN : table identifier |
INTEGER COLUMN | IN : column number |
DOUBLE PRECISION VALUE | IN : value to search |
DOUBLE PRECISION ERROR | IN : tolerance in the search |
INTEGER FIRST | IN : row number to start searching |
INTEGER NEXT | OUT: row number of the element found |
INTEGER STATUS | OUT: status |
Subroutine
INTEGER TID | IN : table identifier |
INTEGER COLUMN | IN : column number |
INTEGER VALUE | IN : value to search |
INTEGER ERROR | IN : error in the search |
INTEGER FIRST | IN : row number to start searching |
INTEGER NEXT | OUT: row number of the element found |
INTEGER STATUS | OUT: status |
Subroutine
INTEGER TID | IN : table identifier |
INTEGER COLUMN | IN : column number |
REAL VALUE | IN : value to search |
REAL ERROR | IN : error in the search |
INTEGER FIRST | IN : row number to start searching |
INTEGER NEXT | OUT: row number of the element found |
INTEGER STATUS | OUT: status |
Module Version
[1.00]
(26-Apr-1989)
Module TBM
Author: J.D.Ponz ESO - Garching
Language: F77
Classification: table interfaces.
Source file: MID_DISK:['MIDASHOME'.'MIDVERS'.LIBSRC.FTOC]TBM.FOR
Environment:
Comments:Contains layer between FORTRAN TB interfaces and the TZ interfaces. Version including the length of characters as explicit argument in the calling sequence. Module related to memory mapping in the context of tables. History:
[[1.00]] 880408: created
Subroutine
REAL TBLSEL | OUT: selection flag |
DOUBLE PRECISION TDTRUE | OUT: double precision true |
DOUBLE PRECISION TDFALS | OUT: double precision false |
Subroutine
INTEGER TINULL | OUT: integer null |
REAL TRNULL | OUT: real null |
DOUBLE PRECISION TDNULL | OUT: double precision null |
Module Version
[1.00]
(26-Apr-1989)
Module TBR
Author: J.D.Ponz ESO - Garching
Language: F77
Classification: table interfaces.
Source file: MID_DISK:['MIDASHOME'.'MIDVERS'.LIBSRC.FTOC]TBR.FOR
Environment:
Comments:Contains layer between FORTRAN TB interfaces and the TZ interfaces. Version including the length of characters as explicit argument in the calling sequence. Module related to table rows. History:
[[1.00]] 880408: created
Subroutine
INTEGER TID | IN : table identifier |
CHARACTER*(*) TYPE | IN : data type |
INTEGER ROW | IN : row number |
INTEGER NC | IN : number of columns |
INTEGER COLUMN(NC) | IN : column number |
INTEGER VALUE(1) | OUT: table element |
LOGICAL NULL(NC) | OUT: null flag |
INTEGER STATUS | OUT: status |
Subroutine
INTEGER TID | IN : table identifier |
CHARACTER*(*) TYPE | IN : argument type |
INTEGER ROW | IN : row number |
INTEGER NC | IN : number of columns |
INTEGER COLUMN(NC) | IN : column number |
INTEGER VALUE(1) | IN : table element |
INTEGER STATUS | OUT: status |
Subroutine
INTEGER TID | IN : table identifier |
INTEGER ROW | IN : row number |
INTEGER STATUS | OUT: status |
Subroutine
INTEGER TID | IN : table identifier |
INTEGER ROW | IN : row number |
INTEGER NC | IN : number of columns |
INTEGER COLUMN(NC) | IN : column index |
CHARACTER*(*) VALUE | OUT: table row |
LOGICAL NULL(NC) | OUT: null flag |
INTEGER STATUS | OUT: status |
Subroutine
INTEGER TID | IN : table identifier |
INTEGER ROW | IN : row number |
INTEGER NC | IN : number of columns |
INTEGER COLUMN(NC) | IN : column index |
DOUBLE PRECISION VALUE(NC) | OUT: table row |
LOGICAL NULL(NC) | OUT: null flag |
INTEGER STATUS | OUT: status |
Subroutine
INTEGER TID | IN : table identifier |
INTEGER ROW | IN : row number |
INTEGER NC | IN : number of columns |
INTEGER COLUMN(NC) | IN : column index |
INTEGER VALUE(NC) | OUT: table row |
LOGICAL NULL(NC) | OUT: null flag |
INTEGER STATUS | OUT: status |
Subroutine
INTEGER TID | IN : table identifier |
INTEGER ROW | IN : row number |
INTEGER NC | IN : number of columns |
INTEGER COLUMN(NC) | IN : column index |
REAL VALUE(NC) | OUT: table row |
LOGICAL NULL(NC) | OUT: null flag |
INTEGER STATUS | OUT: status |
Subroutine
INTEGER TID | IN : table identifier |
INTEGER ROW | IN : row number |
INTEGER NC | IN : number of columns |
INTEGER COLUMN(NC) | IN : column index |
CHARACTER*(*) VALUE | IN : table row |
INTEGER STATUS | OUT: status |
Subroutine
INTEGER TID | IN : table identifier |
INTEGER ROW | IN : row number |
INTEGER NC | IN : number of columns |
INTEGER COLUMN(NC) | IN : column index |
DOUBLE PRECISION VALUE(NC) | IN : table row |
INTEGER STATUS | OUT: status |
Subroutine
INTEGER TID | IN : table identifier |
INTEGER ROW | IN : row number |
INTEGER NC | IN : number of columns |
INTEGER COLUMN(NC) | IN : column index |
INTEGER VALUE(NC) | IN : table row |
INTEGER STATUS | OUT: status |
Subroutine
INTEGER TID | IN : table identifier |
INTEGER ROW | IN : row number |
INTEGER NC | IN : number of columns |
INTEGER COLUMN(NC) | IN : column index |
REAL VALUE(NC) | IN : table row |
INTEGER STATUS | OUT: status |
Module Version
[1.00]
(26-Apr-1989)
Module TBT
Author: J.D.Ponz ESO - Garching
Language: F77
Classification: table interfaces.
Source file: MID_DISK:['MIDASHOME'.'MIDVERS'.LIBSRC.FTOC]TBT.FOR
Environment:
Comments:Contains layer between FORTRAN TB interfaces and the TZ interfaces. Version using the length of character strings as an explicit argument. Module related to the table handling. History:
[[1.00]] 880408: created
Subroutine
INTEGER TID | IN : table identifier |
INTEGER STATUS | OUT: status |
Subroutine
CHARACTER*(*) NAME | IN : table name |
INTEGER STORE | IN : physical structure on disk (0/1) |
INTEGER MODE | IN : opening mode |
INTEGER ACOL | IN : number of words per row |
INTEGER AROW | IN : number of rows |
INTEGER TID | OUT: table identifier |
INTEGER STATUS | OUT: status |
Subroutine
CHARACTER*(*) NAME | IN : table name |
INTEGER MODE | IN : opening mode |
INTEGER TID | OUT: table identifier |
INTEGER STATUS | OUT: status |
External references:
MID_DISK:['MIDASHOME'.'MIDVERS'.INCL]ST_DEF.INC
MID_DISK:['MIDASHOME'.'MIDVERS'.INCL]ST_DAT.INC