CARIS HPD : HPD® Server API : Paper Product Data : P_PPRAPI : SET_CHART_ATTRIBUTE
 

SET_CHART_ATTRIBUTE

Set the value of a chart attribute.

Input

Parameter

Type

Description

chartver_id

NUMBER

Chart version ID.

acronym

VARCHAR2

Attribute acronym.

value

VARCHAR2

Attribute value to set.

test_mode

BOOLEAN

True to validate that the attribute can be set but not actually set the attribute. Additional information will also be listed via DBMS_OUTPUT.

Defaults to false.

Example

exec p_pprapi.set_chart_attribute(&chartver_id,'CTITL1','CARIS HARBOUR AND CITY DOCKS')

Exceptions

Chart version identifier '<chartver_id>' is invalid or does not currently exist.

Chart '<chart_id>' is inactive and cannot be modified.

Attribute 'v_ACRONYM' is not an attribute of chart version '<chartver_id>'.

Value '<value>' is not valid for attribute '<acronym>'. Date format is YYYYMMDD, e.g. 20081231.

Value '<value>' is not valid for attribute '<acronym>'. It should be an integer.

Value '<value>' is not valid for attribute '<acronym>'. It should be a number.

Type '<p_TYPE>' was not expected. Acronym: '<p_ACRONYM>'.

List attributes are not supported.