MATCHTYP Argument

Use the MATCHTYP argument for LIST requests with searchable fields that might contain wildcards or spaces.

When you specify the argument MATCHTYP, the asterisk (*) and percent sign (%) represent normal characters instead of wildcards, and blank represents a normal character instead of ending the selection value.

MATCHTYP EXA, PFX, and SFX affect:

  • The STATUS argument of the CPOPCOM segment
  • The ETTNAME argument of the ETT segment
  • The RESNAME argument of the SRCOM and CSRCOM segments.
The MATCHTYP argument can have the following values:
EXA
Exact match
PFX
Treat as a prefix match
SFX
Treat as a suffix match
Note:
  1. If MATCHTYP has the EXA value specified, a record is selected only if the value in the record is exactly the same as the argument value.
  2. If MATCHTYP has the PFX value specified, a record is selected only if the start value in the record is the same as the argument value.
  3. If MATCHTYP has the SFX value specified, a record is selected only if the end value in the record is the same as the argument value.