OMIT Command

Use an OMIT command instead of an END command if you want to discard the preceding pattern. The pattern is omitted from the database. OMIT is useful for patterns you do not want to include in the compiled database but whose source you want to retain in the input text file (.bld file).

Format

OMIT

Example

In the following example, BADB does not enter the pattern into the autoaction database:

DEFINE  "EXAMPLES"
   MESSAGE  "URM PULSE hhmmss"
   TOKEN    KEYWORD 1 "URM"
   TOKEN    FIXED 2 "PULSE"
   TOKEN    MASKED 3 "0001\?2\"
   ACTION   EVENT-REPORT "TYPE = LG │ CLASS = ansi_x3.64_host │" \
      "INSTANCE = \_SPO\ │ APPL = ams │" \
           "TEXT = Activating unattended database."
   ACTION   ACTIVATE "unattend"
OMIT