Command reference / sys

DSPSFWRSC

Display Software Resources

Shows, prints, or writes to an output file the list of installed software resources. The QSYS2.SOFTWARE_PRODUCT_INFO view returns similar information.

Allowed environments: *ALL. Positional parameters: 2.

Parameters

OUTPUT Output

Specifies whether the output is displayed at the requesting work station or printed with the job's spooled output.

Type
*CHAR
Required
No
Default
*
Length
8
Case
Uppercase

Allowed values: *, *PRINT, *OUTFILE

*
Displayed if requested by an interactive job, or printed with spooled output if requested by a batch job.
*PRINT
Printed with the job's spooled output.
*OUTFILE
Directed to the database file specified in OUTFILE. OUTFILE is required with this value.

OUTFILE File to receive output

Type
*QUAL
Required
No
Case
Uppercase
Qualified parts (object, then library; write LIBRARY/OBJECT)

File to receive output File to receive output

Type
*NAME
Required
No
Length
10
Case
Uppercase

Library Library

Type
*NAME
Required
No
Default
*LIBL
Length
10
Case
Uppercase

Suggested / special values: *LIBL, *CURLIB

OUTMBR Output member options

Type
*ELEM
Required
No
Case
Uppercase
Elements in order

Member to receive output Member to receive output

Type
*NAME
Required
No
Default
*FIRST
Length
10
Case
Uppercase

Suggested / special values: *FIRST

Replace or add records Replace or add records

Type
*CHAR
Required
No
Default
*REPLACE
Length
8
Case
Uppercase

Allowed values: *REPLACE, *ADD

Examples

DSPSFWRSC OUTPUT(*OUTFILE) OUTFILE(*CURLIB/NAMES)

Sends the output to the first member of file NAMES in the current library, replacing the information already in the member.

IBM command documentation

Generated from os/cl/catalog/DSPSFWRSC.json and os/cl/help/DSPSFWRSC.json.