Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Display Remote Definition (DSPRMTDFN) command allows the user to display or print remote definitions for a system. The output can be displayed, printed, or directed to a database file.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
SYSTEM | System name | Element list | Required, Positional 1 |
Element 1: System name | Character value, *ANY, *ALL | ||
Element 2: System group | Character value | ||
OUTPUT | Output | *, *PRINT, *OUTFILE | Optional, Positional 2 |
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 | *ADD, *REPLACE |
Top |
Specifies the system name and system group of the remote system being displayed.
The possible values are:
The possible System Name value is:
The possible System Group value is:
Top |
Specifies whether the output from this command is displayed, printed, or directed to a database file. More information on this parameter is in "Appendix A, Expanded Parameter Descriptions" in the CL Reference.
The possible values are:
Top |
Specifies the qualified name of the database file to which the output of this command is directed. If the file does not exist, the system creates a file in the specified library. If a new file is created, system file QAOCRMTDFN in system library QSYS with a record format name of RMTDFN is used as a model. If the file already exists, it must have this format.
The possible library values are:
The possible value is:
Top |
Specifies the name of the database file member to which the output is directed.
The possible member to receive output values are:
The possible operation to perform on member values are:
Top |
Example 1: Displaying a Specific Remote Definition
DSPRMTDFN SYSTEM(RCHAS1)
This command displays the current attributes for remote system RCHAS1.
Example 2: Writing a Definition to an Output File
DSPRMTDFN SYSTEM(*ALL) OUTPUT(*OUTFILE) OUTFILE(RMTDFNOUT)
This command writes the current attributes for all defined remote systems to the output file RMTDFNOUT.
Top |
*ESCAPE Messages
Top |