z/OS JES2 Commands
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Using wildcards

z/OS JES2 Commands
SA32-0990-00

Several types of commands can use wildcards to select or filter on a subset that matches a combination of characters (mask). The types of commands that can use wildcards include:
  • Commands that use symbolic subscripts (for example, $D NODE)
  • Commands that use filtering (the $D commands)
  • Commands that are job-related (for example, $A job)
  • Commands that pertain to printers, punches, and job and SYSOUT receivers and transmitters.
The two kinds of wildcards JES2 uses are:
  • Multiple-character wildcard, which is specified by an asterisk (*). The asterisk (*) means zero or more characters of any kind can be used here. For example, AB* matches ABC or ABCDEFG or ABCXXE.
  • Single-character wildcard, which is specified by a question mark (?). The question mark (?) means any single character can be used here. For example, ABC?E?? matches ABCDEFG or ABC1E23 but not ABCXXE.

The following examples show the different uses of wildcards:

$DJ1-*,JOBMASK=IEB*
 

wildcards are used here to specify the maximum job number, and in the job mask. JES2 displays output for all jobs that have a job name starting with the characters IEB.

$D NODE(*),SUBNET=B?E
 

wildcards are used here to display information about all nodes whose subnet name matches a specific combination of characters.

$T PRT(5),JOBNAME=POK?*
 

wildcards are used to select jobs for this printer whose name matches the selection criteria set by JOBNAME.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014