PAR_EXACx

Obtains an exact number of values from a parameter

Description:

This routine obtains an exact number of values from a parameter and stores them in a vector. If the number of values obtained is less than that requested, a further get or gets will occur for the remaining values until the exact number required is obtained (or an error occurs). The routine reports how many additional values are required prior to these further reads. Should too many values be entered an error results and a further read is attempted.

Invocation

CALL PAR_EXACx( PARAM, NVALS, VALUES, STATUS )

Arguments

PARAM = CHARACTER ( ) (Given)
The name of the parameter.
NVALS = INTEGER (Given)
The number of values needed. Values will be requested until exactly this number of values (no more and no less) has been obtained.
VALUES( NVALS ) = ? (Returned)
The values obtained from the parameter system. They will only be valid if STATUS is not set to an error value.
STATUS = INTEGER (Given and Returned)
The global status.

Notes: