Previous Topic: Tips for Using CommandsNext Topic: Using SPF/ISPF Command Stacking


Using Wildcard Characters

A wildcard character is a special character you can use at the beginning, middle, or end of an identifier to represent one or more characters that identify the data you want to extract from the database.

The wildcard characters are as follows:

asterisk (*)

Represents any series of characters

question mark (?)

Represents any single character

caret (^)

Represents any single non-blank character

For example: To display a list of currently-defined distribution identifiers that begin with D27, you can select each identifier individually or use a wildcard. Enter D D27* on the command line of the Primary Selection Menu panel, and press Enter.

If external security is implemented, you can improve performance by using a wildcards whenever you can.

For example, instead of entering J to display a list of all jobs, enter J ABC* to see specific jobs that begin with ABC. For more information about using wildcard characters with external security, see the chapter "Security" in the Reference Guide.