- ←Prev
- KAPLIBS – Internal subroutines used within the KAPPA package.
- Next→
- TOC ↑
Description:
This routine obtains and validates an HDS primitive data type, including the
_CHARn
and LITERAL forms. Unamibguous abbreviations may be supplied. The user is
reprompted up to four times if the value is not one of the allowed types.
Invocation
CALL KPG1_GETYP( PARAM, HDSTYP, STATUS )
Arguments
PARAM = CHARACTER
(
) (Given)
The parameter through which the value is to be obtained. The
parameter data type should be LITERAL or _CHAR.
HDSTYP = CHARACTER
(
DAT__SZTYP ) (Given)
The unabbreviated HDS primitive type obtained.
STATUS = INTEGER
(Given and Returned)
The global status.
Notes:
-
Error reports are made and flushed inside the loop if the
_CHARn
has an invalid "
n"
value.
-
Bad status is returned if no valid type has been obtained.
-
_INT64 and _INTEGER require 5 characters for disambiguation. This is a change from when only
_INTEGER was available.
- ←Prev
- KAPLIBS – Internal subroutines used within the KAPPA package.
- Next→
- TOC ↑