KPG1_CPNTx

Creates a primitive NDF with a title via the parameter system

Description:

This routine packages a common series of NDF calls when creating a primitive NDF, whose name is obtained from the parameter system, and also obtaining its title from the parameter system. The need to handle an optional output file via the null character is catered. The data type of the NDF data array is the same as the supplied array. An NDF context is started and ended within this routine.

Invocation

CALL KPG1_CPNTx( PNNDF, PNTIT, NDIM, DIMS, ARRAY, NULL, STATUS )

Arguments

PNNDF = CHARACTER ( ) (Given)
The ADAM parameter name to obtain the name of the output NDF.
PNTIT = CHARACTER ( ) (Given)
The ADAM parameter name to obtain the title of the output NDF.
NDIM = INTEGER (Given)
The number of dimensions in the NDF s data array.
DIMS( NDIM ) = INTEGER (Given)
The dimensions of the NDF s data array.
ARRAY( ) = ? (Given)
The array to be placed in the primitive NDF s data array.
NULL = LOGICAL (Given)
If true a null value returned by either parameter GET is annulled.
STATUS = INTEGER (Given and Returned)
The global status.

Notes: