Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Display Software Resources (DSPSFWRSC) command allows you to show, print, or write to an output file the list of installed software resources.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
OUTPUT | Output | *, *PRINT, *OUTFILE | Optional, Positional 1 |
OUTFILE | File to receive output | Qualified object name | Optional, Positional 2 |
Qualifier 1: File to receive output | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
OUTMBR | Output member options | Element list | Optional |
Element 1: Member to receive output | Name, *FIRST | ||
Element 2: Replace or add records | *REPLACE, *ADD |
Top |
Specifies whether the output from the command is displayed at the requesting work station or printed with the job's spooled output.
The possible values are:
Note: If OUTPUT(*OUTFILE) is used, the name of the database file is required.
Top |
Specifies the name and library of the database file to which the output of the command is directed. If the file does not exist, this command creates a database file in the specified library. If a new file is created, the system uses the physical file QARZLCOF in the library list as a model file. The file has a record format name of QARZLCGD. Field level information can be obtained using the Display File Field Description (DSPFFD) command and specifying QARZLCOF as the file name and *LIBL as the library. If this function creates the file, the text says "Output file for DSPSFWRSC". The authority for users other than those who have specific authority, group authority, or authority from an authorization list, is the same as the create authority specified for the library in which the file is created. This parameter is valid only if OUTPUT(*OUTFILE) is specified.
The name of the database file can be qualified by one of the following library values:
Top |
Specifies the name of the database file member that receives the output of the command.
The possible values are:
The optional values are:
Top |
DSPSFWRSC OUTPUT(*OUTFILE) OUTFILE(*CURLIB/NAMES)
This command sends the output from the command to the first member of the file NAMES in the current library. The output replaces the information in the member.
Top |
*ESCAPE Messages
Top |