Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.atnf.csiro.au/computing/software/gipsy/sub/gdsd_find.dc2
Дата изменения: Tue Aug 1 09:35:23 2000
Дата индексирования: Fri Jan 16 21:52:34 2009
Кодировка:

Поисковые слова: comet tail
Function: GDSD_FIND

Purpose: Find next descriptor name.

Category: GDS

File: gdsd_basic.c

Author: J.P. Terlouw

Use: GDSD_FIND ( CHARACTER*(*)
SET, Input CHARACTER*(*)
LEVEL, Input INTEGER
INDEX, Input, Output INTEGER
ERROR ) Output INTEGER

SET Name or handle of set.
LEVEL If specified, the routine only finds items of this
and of higher levels; if not specified, all levels
are found.
INDEX internal index where the search starts.
In the first call of a sequence zero should be
specified. Upon return, it will contain the next
index. If an item cannot be found, zero is returned.
ERROR Error return code. If call has completed
successfully, and an item was found, the level where
the item was found is returned.

By using this routine, one is capable of generating all
descriptor item names. This is useful when transferring data
to a different set or to tape.

Updates: 25-May-87 original document
14-Nov-89 rewritten in C
11-Mar-94 rewritten for GDS server