Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Display APPN Information (DSPAPPNINF) command provides the user with Advanced Peer-to-Peer Networking (APPN) network information which is used to assist in problem analysis. The user specifies one basic type of network information being shown, printed, or stored in an output file: information about the network topology, the local directory, or session information. More information on APPN functions is in found in the APPN Support information in the iSeries Information Center at http://www.iseries.ibm.com/infocenter book.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
INFTYPE | Type of information | *TOPOLOGY, *LCLNODE, *SSN | Optional, Positional 1 |
NODES | Nodes | *ALL, *ACTIVE, *INACTIVE | Optional, Positional 2 |
SSNTYPE | Session type | *ENDPNT, *INMSSN | Optional, Positional 3 |
JOB | Job name | Qualified job name | Optional |
Qualifier 1: Job name | Name | ||
Qualifier 2: User | Name | ||
Qualifier 3: Number | 000000-999999 | ||
CTL | Controller description | Name, *ALL | Optional |
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 the type of information given.
The possible values are:
Top |
Specifies the set of nodes that is requested. This parameter is valid only if *TOPOLOGY is specified on the Type of information prompt (INFTYPE parameter).
The possible values are:
Top |
Specifies which type of session information is shown. This parameter is valid only when *SSN is specified on the Type of information prompt (INFTYPE parameter).
The possible values are:
Top |
Specifies the name of the job for which session information is shown or printed. If * is specified on the Output prompt (OUTPUT parameter) and no job name is specified, a list of APPN job names run since the most recent initial program load (IPL) of the system is displayed. You can select a job name from that list. If *PRINT or *OUTFILE is specified on the Output prompt (OUTPUT parameter) and no job name is specified, the session information for all APPN jobs is printed or stored in a specified output file.
This parameter is valid only if *ENDPNT is specified on the Session type prompt (SSNTYPE parameter).
Top |
Specifies the controller for which intermediate sessions are requested. This parameter is valid only if *INMSSN is specified on the Session type prompt (SSNTYPE parameter).
The possible values are:
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:
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.
Note: If a new file is created, the system uses file QAxxxxx in library QSYS with a format name of QLzzzz as a model, depending on the value specified on the Type of information prompt (INFTYPE parameter). The following table lists the possible values for that parameter and the output file and model that correspond to the values.
Parameter Values Output File Created OUTFILE FORMAT *TOPOLOGY QALSTDB QLSTDB *LCLNODE QALSDIR QLSDIR *SSN - endpoint session QALSEND QLSEND *SSN - intermediate session QALSINM QLSINM
The possible library values are:
Top |
Specifies the name of the database file member to which the output is directed when *OUTFILE is specified for the Output (OUTPUT) parameter.
The possible values for output member options are:
The optional values are:
Top |
Example 1: Printing a List
DSPAPPNINF INFTYPE(*TOPOLOGY) NODES(*ALL) OUTPUT(*PRINT)
This command prints the list of all nodes currently existing in the APPN network, the set of links destination nodes associated with each node, and the link characteristics for each link.
Example 2: Showing a List of PCIDs
DSPAPPNINF INFTYPE(*SSN) SSNTYPE(*ENDPNT) JOB(APPNJOB/USERPROF/000001) OUTPUT(*)
This command shows a list of procedure correlation session identifiers (PCIDs) associated with the job name APPNJOB/USERPROF/000001. From this list, the user can specify an option to show additional information about a session.
Example 3: Storing Contents of a Directory
DSPAPPNINF INFTYPE(*LCLNODE) OUTPUT(*OUTFILE) OUTFILE(USERLIB/APPNFILE) OUTMBR(*FIRST, *REPLACE)
This command stores the contents of the local directory in the first member of an output file named USERLIB/APPNFILE. If information already exists in this member, the new information replaces the existing information.
Top |
None
Top |