Processing math: 100%

HRETYPE

Change the type of an HDS structure object

Description:

Changes the type of an HDS structure object - the type of a primitive object cannot be changed.

Usage:

hretype inp newtype

Parameters:

INP = UNIV (Read)
The name of the object. <GLOBAL.HDSOBJ>
TYPE = CHAR (Read)
New type - a valid HDS non-primitive type.

Examples:

% hretype cfile.structure data_array
Sets the type of cfile.structure to DATA_ARRAY
% hretype cfile.structure.data _REAL
Error - cannot change the type of a primitive object.

Method

CALLS DAT_RETYPE