KPG1_RGLMT

Gets the range limits of a range specification

Description:

This routine returns begin and end limits of a range specified by a range word.

Invocation

CALL KPG1_RGLMT( SCT, RNGWRD, BERNG, BELG, EDRNG, EDLG, STATUS )

Arguments

SCT = CHARACTER() (Given)
String which specifies a range with the range word specified by argument RNGWRD.
RNAWRD = CHARACTER() (Given)
Gives a range word, such as " TO" , " -" , which is used in the range specification.
BERNG = INTEGER (Returned)
Begin limit of the range.
BELG = LOGICAL (Returned)
If the begin limit of the range has been omitted. it equals true, otherwise, false.
EDRNG = INTEGER (Returned)
End limit of the range.
EDLG = LOGINCAL (Returned)
If the end limit of the range has been omitted, it equals true, otherwise, false.
STATUS = INTEGER (Given and Returned)
The global status.