| Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Print OptiConnect Activity (PRTOPCACT) command writes information about OptiConnect activity to a spooled output file or to a database output file. OptiConnect activity includes database transactions, fiber optic bus activity, and connection status for client and server systems.
| Top |
| Keyword | Description | Choices | Notes |
|---|---|---|---|
| OUTPUT | Output | *PRINT, *OUTFILE | Optional |
| OUTFILE | File to receive output | Qualified object name | Optional |
| 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 where the output from the command is sent.
| Top |
Specifies 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 the file is created, the public authority for the file is the same as the create authority specified for the library in which the file is created. Use the Display Library Description (DSPLIBD) command to show the library's create authority.
Qualifier 1: File to receive output
Qualifier 2: Library
Note: If a new file is created, the system uses the IBM-supplied file QAOPCACT in library QSOC with format name QYYACT as a model.
| Top |
Specifies the name of the database file member that receives the output of the command.
Element 1: Member to receive output
Element 2: Replace or add records
| Top |
Example 1: Print OptiConnect Activity
PRTOPCACT OUTPUT(*PRINT)
This command prints information about OptiConnect activity.
Example 2: Write OptiConnect Activity to an Outfile
PRTOPCACT OUTPUT(*OUTFILE) OUTFILE(QGPL/OPCACT)
This command writes information about OptiConnect activity to an outfile named OPCACT in library QGPL.
| Top |
| Top |