z/OS Infoprint Server Printer Inventory for PSF
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF


modify—change attributes of an object in the Printer Inventory

z/OS Infoprint Server Printer Inventory for PSF
SA38-0694-00

modify—change attributes of an object in the Printer Inventory

Format

modify objectclass name [attribute = value]... ;

Description

The modify command modifies attributes for an object in the Printer Inventory. The object must already exist in the Printer Inventory.

Changes you make to attributes for an FSA definition take effect only when you restart the PSF FSA. Changes you make to attributes for an FSS definition take effect when you restart the FSS.

Operands

objectclass
The class of the object that you want to modify. Valid values are fsa and psf-fss.
name
The name of the object. Names are case-sensitive, so be sure to use the correct uppercase and lowercase letters. Enclose the name in single or double quotation marks if the name contains special characters.
attribute = value
One or more attributes and values. Separate attributes with spaces.

Usage notes

  • To remove an attribute, type null as the value for the attribute.
  • If you repeat the same attribute in a modify statement, PIDU uses the last specification.
  • You can use the list command with the modify command to modify all or selected objects in an object class.

Example -- modify

This example, entered as one command on the z/OS UNIX command line, lists selected FSA definitions and changes an attribute in those FSA definitions. This example uses these PIDU commands and the awk command:

  1. The PIDU list command lists the names of all FSA definitions with form-definition=F1OLD.
  2. These names are input to the awk program, which writes PIDU modify commands to modify the form-definition attribute.
  3. The output from the awk program is input to the pidu command:
pidu -qc "list fsa where form-definition = F1OLD ; " |
     awk '{ print "modify fsa " $1 " form-definition = \"F1NEW\";" }' |
     pidu

For information about the awk program, see z/OS UNIX System Services Command Reference.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014