Link: <name>, <target series>, <type>where
<name>
is string giving the symbolic name of the link.
<target series>
is a string containing the name of the series
from which come the record pointed to by the link.
<type>
can either take the value static which
indicates that the link is static, i.e. based on record number, or
<type>
can type the value dynamic which indicates that
the link is dynamic, i.e. based on primary index.
int jsoc_set_link_static(JSOC_DataRecord_t *record, char *linkname, int recnum)from a process running within the JSOC environment with a pointer to the data record passed in as the first argument.
A dynamic link points to the data record from the target series with the highest record number for a given primary index. [ If primary indices are simple integers we can use a simple function call as above (or maybe even the same). If primary indices can be composite, we need to be able to pass that into the function. ]