KPG1_GETYP

Obtains a valid HDS primitive data type via a parameter

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: