\begin{manpage}{Safire Data Analysis System}{get\_eoi}{Version 1.0}

\subtitle{Purpose}
	Gets the current Execution Order Index (EOI)  for the specified Process
        Control Table (PCT).

\subtitle{C Syntax}
    \#include \"defs.h\"\\
    \#include \"safire.h\"\\
    \vbox{\vspace{0.075in}}\\
\function{int get\_eoi(char *PCTname)}\hbox{\hfill}

\subtitle{FORTRAN Syntax}
    INTEGER*4 FGET\_EOI(PCTNAME) \\
    CHARACTER*(*) PCTNAME

\subtitle{PDT Entry}
    STRING : PCTname  : N ; \\
    INT    : EOI ;

\subtitle{PCT Entry}
    a : DS : GET\_EOI : PCTname , EOI ; 

\subtitle{Remarks}
    {\bf get\_eoi} gets the current Execution Order Index (EOI) for
    the PCT specified by {\em PCTname}. The returned integer value is an index into
    {\em EOL } for {\em PCTname} indicating the next entry in the PCT {\em
    PCTname} to be executed. If {\em PCTname} is not a valid PCT name, {\bf get\_eoi}
    aborts the program and returns an error message. NOTE: {\em EOL} is a array
    of characters with array locations starting at 0 in accordance with C syntax (as
    opposed to FORTRAN syntax where character arrays start at location 1). This means
    that values returned by {\bf get\_eoi} start at 0 for the 1st location, 1
    for the second location, etc.

\subtitle{See Also}
    {\bf set\_eoi}, {\bf get\_eol}, {\bf set\_eol}

\subtitle{Author}
    John Burton, G \& A Technical Software Inc.  07/08/91

\end{manpage}
