Previous Topic: Dates in a Selection ListNext Topic: ISPF Standard Commands and Function Keys


Name Masking

To help you more easily find information and process requests, you can use name masking. By substituting a name with the asterisk wildcard character (*), a character with the percent sign placeholder (%), or by using both together, it is much easier to find information and process requests.

Wildcards

A wildcard is an asterisk (*) character that can be used in a search string to represent the entire search string or the end of a search string. It represents any number of characters. When a wildcard is used as the only character of a search string, all members of the search field are returned. When a wildcard is used as the last character of the search string, the only members of the search field returned are those that begin with the characters in the search string preceding the wildcard.

You cannot have more than one wildcard in a string. For example, the statement ADD ELEMENT U*PD* would result in an error.

Examples: Use a Wildcard

Placeholders

A placeholder is a percent sign (%) character that can be used to represent one character in a search string. It can be used at the end of a search string, multiple times within a search string, or both. When a placeholder is used as the last character in a string, all members of the search field are returned, beginning with the characters in the search string preceding the placeholder, but which have no more characters than were used in the search string.

Examples: Use a Placeholder

Examples: Use a Wildcard and a Placeholder Together

Valid Uses for Name Masks

You can use name masks for the following items: