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


export—export objects in the Printer Inventory to a file

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

export—export objects in the Printer Inventory to a file

Format

export filename [objectclass [where condition [and|or condition]... ] ];

Description

The export command exports all objects in the Printer Inventory or only those objects that meet specified conditions. You can use the export command to back up the Printer Inventory. Also, the statements in the output file can be used as input to PIDU on another z/OS system.

The export command writes a create statement for each exported object to an output file. The output file does not need to exist. However, if the file already exists, the file is replaced.

Tip: Use the export command to back up the Printer Inventory. Do not use ordinary copy commands to create a backup copy of the Printer Inventory because the copy might contain inconsistent data.

Operands

filename
The name of the output file, which can be a UNIX file or an MVS™ data set.

If the data set is an MVS data set, specify // before the file name. If you specify a fully-qualified data set name, also enclose the data set name in single quotation marks and specify a backslash before each single quotation mark. For example, if the output data set is named USERID.MYFILE, enter:

//\'USERID.MYFILE\'

If you want your TSO user ID prefixed to the data set name, specify:

//MYFILE
objectclass
The class of the objects that you want to export. Valid values are fsa and psf-fss. If you omit this operand, all objects are exported.
where condition [and|or condition]...
One or more conditions, which can limit the objects that are exported. Only objects that are in the specified object class and that meet the conditions are exported. If you omit the where predicate, all objects in the specified object class are exported.

For information about how to specify conditions, see Where predicate.

Usage notes

  • If you allocate an MVS data set for the output file, IBM® suggests that you use RECFM=VB and LRECL=8192. However, other values might be suitable as well.
  • The export command might not export attributes that you have set to default values. This is because, to save space in the Printer Inventory, the Infoprint Server ISPF panels do not generally store attributes with default values.

Related information:

Examples -- export

This example exports all objects in the Printer Inventory to UNIX file inventory.export:

pidu -c 'export inventory.export;'

This example exports all objects in the Printer Inventory to MVS data set USER1.INVENT.EXPORT:

pidu -c "export //\'USER1.INVENT.EXPORT\';"

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014