Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Display Distribution Log (DSPDSTLOG) command provides a convenient interface to the Systems Network Architecture distribution services (SNADS) log. The SNADS log (the QSNADS journal) contains entries that track SNADS operations that have been performed on the system. These operations include sending, receiving, and routing distributions and configuration changes.
This command provides a wide range of selection criteria which allows easy access to the desired information. The selection criteria includes time period, function type (such as router and sender/receiver), entry type (such as normal, error, and configuration), and job name. Any number of selection parameters can be entered, and the resulting output is cumulative, based on all parameters entered.
Both displayed and printed output can be produced in conjunction with the input parameter specified. If the user requests output that can be shown, a summary of all entries matching the selection criteria are shown. The summary display includes basic information, such as function type, entry type, date-time of logging, job name, and originating user ID. From the summary display, any of the entries can be chosen to view the details of that log entry. The detail display gives more specific information on that particular log entry. If the user requests printed output, a detail printout for each log entry in the selection is produced.
By specifying the appropriate selection criteria, the user can determine the following types of information:
Restrictions:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
PERIOD | Time period for log output | Element list | Optional |
Element 1: | Element list | ||
Element 1: Beginning time | Time, *AVAIL | ||
Element 2: Beginning date | Date, *CURRENT, *BEGIN | ||
Element 2: | Element list | ||
Element 1: Ending time | Time, *AVAIL | ||
Element 2: Ending date | Date, *CURRENT, *END | ||
FNCTYP | Function type | Single values: *ALL Other values (up to 8 repetitions): *RCV, *RTR, *SND, *CFG, *OPR, *ORG, *ARV, *SYS |
Optional |
ENTTYP | Entry type | Single values: *ALLDST, *ALL Other values (up to 5 repetitions): *NRM, *ERR, *RTG, *DSQ, *SYS |
Optional |
ORGUSRID | Origin user identifier | Element list | Optional |
Element 1: User ID | Character value, *ALL, *BLANK | ||
Element 2: Address | Character value, *ALL, *BLANK | ||
ORGSYSNAME | Origin system name | Element list | Optional |
Element 1: System name | Character value, *ALL | ||
Element 2: System group | Character value, *ALL, *BLANK | ||
JOB | Job name | Single values: *ALL Other values: Qualified job name |
Optional |
Qualifier 1: Job name | Name | ||
Qualifier 2: User | Name | ||
Qualifier 3: Number | 000000-999999 | ||
RCVRNG | Range of journal receivers | Single values: *CURRENT Other values: Element list |
Optional |
Element 1: Starting journal receiver | Qualified object name | ||
Qualifier 1: Starting journal receiver | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
Element 2: Ending journal receiver |
Single values: *CURRENT Other values: Qualified object name |
||
Qualifier 1: Ending journal receiver | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
OUTPUT | Output | Optional |
Top |
Specifies the time period for which log entries are shown. The following values can be coded in this parameter, which contains two lists of two values each.
Beginning Time: One of the following is used to specify the beginning time.
Beginning Date: One of the following is used to specify the beginning date.
Ending Time: One of the following is used to specify the ending time.
Ending Date: One of the following is used to specify the ending date.
Top |
Specifies the SNADS function that was being performed when entries were made to the QSNADS journal. If the default value *ALL is not specified, a maximum of eight functions can be specified.
You can enter multiple values for this parameter.
The possible values are:
Top |
Specifies the type of log entries that are shown. If the values *ALL or *ALLDST are not specified, a maximum of five entry types may be specified.
You can enter multiple values for this parameter.
The possible values are:
Top |
Specifies the originating user ID and address of logged distributions. This parameter allows you to display or print only those entries logged because of distributions originated by a user with the specified ID or address. The user ID and address are translated to the character set and code page '697 500' using the job's coded character set identifier (CCSID).
The possible user ID values are:
The possible address values are:
Top |
Specifies the name and group name of the originating system of logged distributions. This parameter allows you to display or print only those entries logged because of distributions that originated from the specified system or group.
AS/400, System/38, and System/36 systems do not specify a system group. The originating system group name of distributions from these systems will always be blanks.
The name and group are translated to the character set and code page '697 500' using the job's coded character set identifier (CCSID).
The possible system name values are:
The possible group name values are:
Top |
Specifies the name of the SNADS job that made the log entry. This parameter allows you to display or print only those entries logged by the specified job.
The possible values are:
Top |
Specifies the journal receivers that contain the SNADS logs. This allows you to display entries from SNADS logs that are kept in journal receivers which are no longer active.
The possible values are:
The possible library values are:
The possible library 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 |
Example 1: Printing a Distribution Log
DSPDSTLOG OUTPUT(*PRINT)
This command directs the distribution log information to the job's output spooling queue to be printed. If OUTPUT(*) is specified, and the command was entered from a work station, the information about the distribution log is shown at the work station.
Example 2: Getting a SNADS Distribution Log
DSPDSTLOG ENTTYPE(*SYS)
This command directs the SNADS distribution log entries to be shown on the work station display for an interactive job, or printed with the job's spooled output for a batch job.
Top |
*ESCAPE Messages
Top |