Hitachi

JP1 Version 11 JP1/IT Desktop Management 2 - Asset Console Creating an Access Definition File Guide


[DELETE] (delete object class)

[DELETE] deletes an object class. If multiple searches for information are being performed in the applicable classes, this tag deletes all classes.

Organization of this page

Syntax

[DELETE]
  object-class-name
  [DATA]
    assignment-statement-for-property

Values

Status

The following table lists and describes the possible statuses:

Status

Description

NORMAL

Normal end.

NODATA

ERROR

No applicable data exists in the object class.

MULTI

Legend:

—: Not applicable

Example

The following example deletes asset information from asset ID 10000:

[DELETE]
  AssetInfo
[DATA]
  AssetInfo.AssetID = '10000'
 
[SET_VALUE]
  STATUS = $GETSTATUS()
[IF]
  STATUS != NORMAL
[THEN]
  [SET_VALUE]
    MSG = 'DELETE (' +STATUS+ ')'
    $ECHO(MSG)
[IF_END]