Syntax for deleting segments based on field value


The following keywords support segment deletion based on field value:

  • DELDEP deletes a segment and all of its dependents.
  • DELALL deletes a segment and all segments that follow it in the database record.

The syntax is DELDEP|DELALL(offset,condition,value), where:

  • offset is the location of the field in the segment (base 1).
  • condition is the matching criteria. Allowed values are:

    Allowed value

    Description

    Alternative value

    LT

    Less than

    <

    GT

    Greater than

    >

    LE

    Less than or equal

    <=

    GE

    Greater than or equal

    >=

    EQ

    Equal

    =

    NE

    Not equal

    !=

You can specify multiple conditions by using multiple DELALL or DELDEP statements. The utility evaluates the statements in order. The first statement that is true takes place. If no statement is true, the segment undertakes any manipulations that were specified. If you do not specify any manipulations, the utility does not change or delete the segment.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC AMI Online Reorg for IMS 5.2