AS400 Command DSP
AS400 Command DSP
ERserver
iSeries
CL Commands Volume 12
ERserver
iSeries
CL Commands Volume 12
Copyright International Business Machines Corporation 1998, 2002. All rights reserved.
US Government Users Restricted Rights Use, duplication or disclosure restricted by GSA ADP Schedule Contract
with IBM Corp.
Contents
Command Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
DSPLOG (Display Log) Command Description . . . . . . . . . . . . . . . . . . . . . . 1
DSPLOGBRM (Display Log for BRM) Command Description . . . . . . . . . . . . . . . . . 4
DSPLOGJS (Display Log for Job Scheduler) Command Description . . . . . . . . . . . . . . 4
DSPMGDSYSA (Display Managed System Attributes) Command Description . . . . . . . . . . . 7
DSPMNUA (Display Menu Attributes) Command Description . . . . . . . . . . . . . . . . . 8
DSPMSGD (Display Message Descriptions) Command Description . . . . . . . . . . . . . . 10
DSPMSG (Display Messages) Command Description . . . . . . . . . . . . . . . . . . . 13
DSPMODD (Display Mode Description) Command Description . . . . . . . . . . . . . . . . 17
DSPMODSTS (Display Mode Status) Command Description . . . . . . . . . . . . . . . . 17
DSPMOD (Display Module) Command Description . . . . . . . . . . . . . . . . . . . . 19
DSPMODSRC (Display Module Source) Command Description . . . . . . . . . . . . . . . 22
DSPMFSINF (Display Mounted File System Information) Command Description . . . . . . . . . 22
STATFS (Display Mounted File System Information) Command . . . . . . . . . . . . . . . 23
DSPNTBD (Display NetBIOS Description) Command Description . . . . . . . . . . . . . . . 23
DSPNETA (Display Network Attributes) Command Description . . . . . . . . . . . . . . . . 24
DSPNWID (Display Network Interface Description) Command Description. . . . . . . . . . . . 25
DSPNWSA (Display Network Server Attributes) Command Description . . . . . . . . . . . . . 26
DSPNWSD (Display Network Server Description) Command Description . . . . . . . . . . . . 27
DSPNWSSTG (Display Network Server Storage Space) Command Description . . . . . . . . . 28
DSPNWSUSRA (Display Network Server User Attributes) Command Description . . . . . . . . . 28
DSPNWSUSR (Display Network Server Users) Command Description . . . . . . . . . . . . . 29
DSPNCK (Display Nickname) Command Description . . . . . . . . . . . . . . . . . . . 30
DSPNODGRP (Display Node Group) Command Description. . . . . . . . . . . . . . . . . 32
DSPOBJAUT (Display Object Authority) Command Description. . . . . . . . . . . . . . . . 33
DSPOBJD (Display Object Description) Command Description . . . . . . . . . . . . . . . . 37
DSPLNK (Display Object Links) Command Description. . . . . . . . . . . . . . . . . . . 43
DSPOPT (Display Optical) Command Description . . . . . . . . . . . . . . . . . . . . 45
DSPOPTLCK (Display Optical Locks) Command Description . . . . . . . . . . . . . . . . 51
DSPOPTSVR (Display Optical Server) Command Description . . . . . . . . . . . . . . . . 52
DSPOPCLNK (Display OptiConnect Link Status) Command Description . . . . . . . . . . . . 53
DSPOVR (Display Override) Command Description . . . . . . . . . . . . . . . . . . . . 54
DSPPFRDTA (Display Performance Data) Command Description . . . . . . . . . . . . . . . 56
DSPPFRGPH (Display Performance Graph) Command Description . . . . . . . . . . . . . . 57
DSPPFM (Display Physical File Member) Command Description . . . . . . . . . . . . . . . 67
DSPPWRSCD (Display Power On/Off Schedule) Command Description . . . . . . . . . . . . 69
DSPPDGPRF (Display Print Descriptor Group Profile) Command Description . . . . . . . . . . 70
DSPPSFCFG (Display Print Services Facility Configuration) Command Description . . . . . . . . 71
DSPPRB (Display Problem) Command Description . . . . . . . . . . . . . . . . . . . . 72
DSPPGM (Display Program) Command Description . . . . . . . . . . . . . . . . . . . . 86
DSPPGMREF (Display Program References) Command Description . . . . . . . . . . . . . 88
DSPPTF (Display Program Temporary Fix) Command Description . . . . . . . . . . . . . . 93
DSPPGMVAR (Display Program Variable) Command Description . . . . . . . . . . . . . . . 96
DSPPGMADP (Display Programs that Adopt) Command Description . . . . . . . . . . . . . 99
DSPPTFCVR (Display PTF Cover Letter) Command Description . . . . . . . . . . . . . . 101
DSPRCVCMD (Display Received Commands) Command Description . . . . . . . . . . . . . 103
DSPRCDLCK (Display Record Locks) Command Description . . . . . . . . . . . . . . . . 104
DSPRCYAP (Display Recovery for Access Paths) Command Description . . . . . . . . . . . 106
DSPRDBDIRE (Display Relational Database Directory Entry) Command Description . . . . . . . 108
DSPRMTDFN (Display Remote Definition) Command Description . . . . . . . . . . . . . . 109
DSPSAVF (Display Save File) Command Description . . . . . . . . . . . . . . . . . . . 111
DSPSECA (Display Security Attributes) Command Description . . . . . . . . . . . . . . . 113
DSPSECAUD (Display Security Auditing Values) Command Description . . . . . . . . . . . . 113
Copyright IBM Corp. 1998, 2002
iii
iv
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
114
115
115
118
118
119
121
122
125
127
130
133
134
135
136
137
141
144
145
147
148
149
149
Command Descriptions
DSPLOG (Display Log) Command Description
DSPLOG Command syntax diagram
Purpose
The Display Log (DSPLOG) command shows the system history log (QHST). The history log contains
information about the operation of the system and the current system status.
The display contains the messages sent to the log, the date and time the message was sent, and the
name of the job that sent it.
Optional Parameters
LOG
PERIOD
Specifies the time period covered by the logged message data being shown. The values that can
be coded for this parameter are specified as two lists with two elements in each list. If PERIOD is
not specified, the following values are assumed:
PERIOD((*AVAIL *CURRENT) (*AVAIL *CURRENT))
The values specified for the ending date and time are
ignored if the output is shown. That is, all data in the log
that was logged on or after the specified starting date and
time can be shown, regardless of the ending date and
time specified.
end-time: Specify the ending time for the specified ending date that determines the logged data
that is printed.
Element 4: Ending Date
One of the following is used to specify the ending date before which or on which the data must
have been logged.
*CURRENT: The current day is the last day for which logged data is shown.
*END: The last day on which data was logged is shown. If PERIOD(*END) is specified, a time
value other than *AVAIL for end-time is ignored.
end-date: Specify the ending date for which logged data is to be printed. The date must be
entered in the format specified by the system values QDATFMT and, if separators are used,
QDATSEP.
Note:
JOB
Specifies the names of the jobs (if any) whose messages in the system log are shown. If a job
name is not qualified, all jobs by that name in the log will have their messages displayed.
A job identifier is a special value or a qualified name with up to three elements. For example:
*NONE
job-name
user-name/job-name
job-number/user-name/job-name
job-number: Specify the numbers of the jobs that are to have their logged messages displayed.
MSGID
Specifies up to 100 message identifiers (if any) of the logged messages that are shown. These
messages are shown only if they were logged in the period of time specified in this command and
in the jobs specified, if job names were given in this command.
*ALL: All logged messages, regardless of their identifiers, are shown if they meet the previous
parameters specifications.
message-identifier: Specify the identifiers of up to fifty messages that are shown. (Refer to the
description of the MSGID parameter in the Add Message Description (ADDMSGD) command
description for more information on message identifiers.)
To display specific generic types of messages, specify the 3-character code that identifies the
message file followed by all zeros. For example, CPF0000 specifies that all CPF messages that
meet the specifications of the previous parameters are shown. If an identifier is specified as
pppnn00, any message beginning with the specified five characters (pppnn) can be shown.
OUTPUT
Specifies whether the output from the command is shown at the requesting display station or
printed with the jobs spooled output. More information on this parameter is in commonly used
parameters.
*: Output requested by an interactive job is shown on the display. Output requested by a batch job
is printed with the jobs spooled output.
*PRINT: The output is printed with the jobs spooled output. Only one line will be printed for each
message and only the first 105 characters of the first level message text will be printed.
*PRTWRAP: The output is printed with the jobs spooled output. If the message does not fit on
one line, additional lines are printed to accomodate up to 2000 characters of the first level
message text.
Examples for DSPLOG
Example 1: Displaying Logged Messages for Current Date
DSPLOG
LOG(QHST)
This command shows all the logged messages (and their associated data) that are available in the history
log for the current date.
Example 2: Displaying Logged Messages for September 1988
DSPLOG
JOB(MYJOB) PERIOD((*AVAIL 090188)
(*AVAIL 093088)) MSGID(CPF0000)
This command displays all CPF messages, in the history log for MYJOB, that were logged during
September 1988.
Error messages for DSPLOG
*ESCAPE Messages
CPF2403
Message queue &1 in &2 not found.
CPF2447
No entries exist in current version of log.
CPF2478
Not authorized to requested version of log.
Command Descriptions
CPF2480
Requested version of log damaged.
CPF2519
Error occurred while processing message ID list.
CPF2537
Too many records written to file &2 in &3.
CPF9845
Error occurred while opening file &1.
CPF9846
Error while processing file &1 in library &2.
CPF9847
Error occurred while closing file &1 in library &2.
In this example the type of log entry is backup and the range of dates is from the beginning of the log to
the end of the log. Log entries related to backups will be displayed in the Display BRM Log Information
display that have a severity level of 20 or above.
Error messages for DSPLOGBRM
None
by date and time of messages that Job Scheduler has created as a result of processing. The DSPLOGJS
command allows you to display or print all or part of the log.
Optional Parameters
TYPE The type of entry for which you want to review log entries.
*ALL: Selects all log entries for display.
*RUN: Selects only job run entries for display.
*SUBMIT: Selects only submit job log entries for display.
*MAINT: Selects only maintenance log entries for display.
PERIOD
Specifies the time period used to select log entries to be included in the display or report. This
parameter contains two lists of two elements each.
Element 1: Beginning Time
One of the following is used to specify the starting creation time at which or after log entries are
included. Any log entries made before the specified time and date are not included in the display
or report.
*AVAIL: Any time that is available for the beginning date is included.
begin-time: Specify the beginning time for the specified beginning date that indicates which log
entries are to be included.
Element 2: Beginning Date
One of the following is used to specify the starting date on or after which the log entries must have
been made. Any entries made before the specified date are not included in the display or report.
*CURRENT: Log entries with a current date creation date and between the specified beginning
and ending times (if specified) are displayed or reported.
*BEGIN: Log entries from the beginning of the log information are included.
begin-date: Specify the beginning date. The date must be specified in the job date format.
number-of-days: Specify a number to represent the number of days before the current day that
you want to use for the search. An example would be 10. If todays date were 3/12/94 (date format
is mm/dd/yy), the From date for the Job Scheduler log would be 3/2/94.
Element 3: Ending Time
One of the following is used to specify the ending time before which log entries are included. Any
log entries made after the specified time and date are not included in the items displayed or
reported.
*AVAIL: Any time that is available for the ending date is included.
end-time: Specify the ending time for the specified ending date that indicates which log entries are
to be included.
Element 4: Ending Date
One of the following is used to specify the ending date on which or before which the log entries
must have been made. Any log entries created after the specified date are not included in the
report or display.
*CURRENT: Log entries whose date is on or before the current date are included in the display or
report.
*END: The log entries to the end of the log information are included.
Command Descriptions
end-date: Specify the ending date. The date must be specified in the job date format.
number-of-days: Specify a number to represent the number of days before the current day that
you want to use for the search. An example would be 10. If todays date were 3/22/94 (date format
is mm/dd/yy), the To date for the Job Scheduler log would be 3/12/94.
SEV
Specifies the message severity level that you want to include in the report/display. For example, a
severity level of 30 would include all messages that are severity level 30 and above. The severity
level can be specified from 0 to 99.
*ALL: Include all severity levels in the report or display.
severity-level: Specify the severity level associated with log entries that you want to include in the
display or report.
OUTPUT
Specifies whether the output from the command is displayed at the requesting work station or
printed with the jobs spooled output.
*: The output is displayed (if requested by an interactive job) or printed with the jobs spooled
output (if requested by a batch job).
*PRINT: The output is printed with the jobs spooled output.
JOB
Specifies the name of the job whose log entries you want to display. You must specify a job and
alternately can specify a group to which the job belongs as well as a sequence number for the job
within the group.
Element 1: Job
*ALL: All jobs that have log entries are displayed.
*NONE: All log entries that do not have jobs associated with them are displayed.
generic*-job-name: Specify the generic name of the jobs whose log entries you want to display. A
generic name is a character string that contains one or more characters followed by an asterisk
(*). If an * is not specified with the name, the system assumes that the name is a complete job.
job-name: Specify the name of the job whose log entries you want to display.
Element 2: Group
*ALL: All jobs that belong to this group with log entries are displayed.
*NONE: There is no group associated with the job.
generic*-group-name: Specify the generic name of the group whose log entries you want to
display. A generic name is a character string that contains one or more characters followed by an
asterisk (*). If an * is not specified with the name, the system assumes that the name is a
complete group.
group-name: Specify the name of the group that contains the job whose log entries you want to
display.
Element 3: Group sequence
*ALL: All job sequences that belong to this group with log entries are displayed.
*NONE: There is no sequence number associated with the job.
group-sequence-number: Specify the sequence number of the job within the group whose log
entries you want to display.
RMTLOCNAME
Specifies the location and network identification of the remote location name that created the log
entry that you want to display.
*ALL: Selects all log entries for all systems in the network.
In this example Job Scheduler log entries from the beginning of the log to the end of the log are displayed
for JOB02.
Error messages for DSPLOGJS
None
Command Descriptions
Restrictions:
1. You must have *JOBCTL authority to use the display command.
2. Public authority for this command is *EXCLUDE.
Example for DSPMGDSYSA
DSPMGDSYSA
*LIBL: All libraries in the jobs library list are searched until the first match is found.
*CURLIB: The current library for the job is searched. If no library is specified as the
current library for the job, the QGPL library is used.
Optional Parameter
OUTPUT
Specifies whether the output is directed to the display station screen or to a printer. More
information on this parameter is in commonly used parameters.
*: Output requested by an interactive job is shown on the display. Output requested by a batch job
is printed with the jobs spooled output.
*PRINT: The output is printed with the jobs spooled output.
Example for DSPMNUA
DSPMNUA MENU(PAYROLL)
This command shows the attributes of a menu named PAYROLL at the display station (if the command is
running interactively). The menu is found by searching the library list (*LIBL default value).
Error messages for DSPMNUA
*ESCAPE Messages
CPF6ACD
Menu &1 in &2 is wrong version for system.
CPF7D41
Error occurred while logging order assistance request.
CPF7D42
Error occurred while performing database operation.
CPF9801
Object &2 in library &3 not found.
CPF9802
Not authorized to object &2 in &3.
CPF9803
Cannot allocate object &2 in library &3.
CPF9807
One or more libraries in library list deleted.
CPF9808
Cannot allocate one or more libraries on library list.
CPF9810
Library &1 not found.
CPF9811
Program &1 in library &2 not found.
Command Descriptions
CPF9812
File &1 in library &2 not found.
CPF9814
Device &1 not found.
CPF9820
Not authorized to use library &1.
CPF9821
Not authorized to program &1 in library &2.
CPF9822
Not authorized to file &1 in library &2.
CPF9825
Not authorized to device &1.
CPF9830
Cannot assign library &1.
CPF9831
Cannot assign device &1.
CPF9845
Error occurred while opening file &1.
CPF9846
Error while processing file &1 in library &2.
CPF9847
Error occurred while closing file &1 in library &2.
CPF9871
Error occurred while processing.
10
*LIBL: All libraries in the jobs library list are searched until the first match is found.
*CURLIB: The current library for the job is searched. If no library is specified as the
current library for the job, the QGPL library is used.
*USRLIBL: Only the libraries in the user portion of the jobs library list are searched.
Command Descriptions
11
*BASIC: A list of the specified message identifiers, their severity, and first-level messages are
shown or printed. If the user is working from an interactive display, the user can choose to show or
print detailed descriptions of messages selected from the list.
FMTTXT
Specifies whether the message text is formatted.
*YES: The message text is formatted.
*NO: The message text is unformatted.
OUTPUT
Specifies whether the output from the command is shown at the requesting work station or printed
with the jobs spooled output. More information on this parameter is in commonly used
parameters.
*: Output requested by an interactive job is shown on the display. Output requested by a batch job
is printed with the jobs spooled output.
*PRINT: The output is printed with the jobs spooled output.
Examples for DSPMSGD
Example 1: Displaying or Printing Descriptions
DSPMSGD
RANGE(CPF1100
MSGF(QSYS/QCPFMSG)
CPF3600)
If this command is entered from a display station, the descriptions of the specified messages are shown
on the display. If this command is entered from a batch job, the descriptions of the messages are sent to
the jobs spooled output queue.
Example 2: Printing Message Descriptions
DSPMSGD
RANGE(*FIRST IDU0571)
MSGF(QIDU/QIDUMSG) FMTTXT(*NO)
OUTPUT(*PRINT)
This command prints the message descriptions for message identifiers in the file that are in the following
range: from the first message in the QIDUMSG message file through the message whose identifier is
IDU0571. The message is unformatted.
Error messages for DSPMSGD
*ESCAPE Messages
CPF2401
Not authorized to library &1.
CPF2407
Message file &1 in &2 not found.
CPF2411
Not authorized to message file &1 in &2.
CPF2483
Message file currently in use.
CPF2510
Message file &1 in &2 logically damaged.
CPF2515
Invalid message ID range.
12
CPF2516
Unable to open display or printer file &1 in &2.
CPF2519
Error occurred while processing message ID list.
CPF2537
Too many records written to file &2 in &3.
CPF9807
One or more libraries in library list deleted.
CPF9810
Library &1 not found.
CPF9830
Cannot assign library &1.
Restrictions:
1. DSPMSG cannot be specified when another job has already allocated the message queue by
specifying the ALCOBJ command operating in the *EXCL lock state.
2. The DSPMSG command allows the user to see, but not remove, messages for the job when the
message queue is in the *BREAK or *NOTIFY mode for another job.
3. When the message queue is in the *BREAK mode for another job, the break handling program for the
message queue determines whether the user is allowed to respond to inquiry messages. If
PGM(*DSPMSG) is specified, the user can reply to inquiry messages, but if PGM(user-program) is
specified, no reply to inquiry messages is allowed.
4. If multiple jobs show the same inquiry message, and all jobs reply to the message, only the first reply
to the message is valid. Subsequent replies from other jobs cause error messages to be issued.
Optional Parameters
MSGQ
Specifies the qualified name of the message queue from which messages are shown.
Note:
Command Descriptions
13
*WRKUSR: Messages are shown from the work stations message queue. After exiting this
display, the message queue for the jobs user profile is shown. If there are no messages on the
work station message queue, only the user profile message queue is shown.
*SYSOPR: Messages from the system operator message queue (QSYSOPR) are shown.
*USRPRF: Messages from the current user profile message queue are displayed.
*WRKSTN: Messages are shown from the work stations own message queue.
The name of the message queue can be qualified by one of the following library values:
*LIBL: All libraries in the jobs library list are searched until the first match is found.
*CURLIB: The current library for the job is searched. If no library is specified as the
current library for the job, the QGPL library is used.
14
SEV
Specifies the severity code of the message. The severity code indicates the severity level of the
condition that causes the message to be sent.
00: All messages in the specified message queue are shown.
*MSGQ: Messages with a severity code greater than or equal to the severity code specified for the
message queue are shown.
severity-code: Specify a value, ranging from 00 through 99, that specifies the minimum severity
code that a message must have to still be shown. More information on this parameter is in
commonly used parameters.
OUTPUT
Specifies whether the output from the command is shown at the requesting display station or listed
with the jobs spooled output on a printer. More information on this parameter is in commonly used
parameters.
*: Output requested by an interactive job is shown on the display. Output requested by a batch job
is printed with the jobs spooled output. Immediate messages can be 512 bytes long.
*PRINT: The output is printed with the jobs spooled output. Impromptu messages and predefined
messages are truncated to 105 characters.
PRTWRAP: The output is printed with the jobs spooled output without truncation.
ASTLVL
Specifies the user interface to display.
*PRV: The previous user interface used is displayed.
*USRPRF: The user interface specified in the current user profile is used.
*BASIC: The Operational Assistant* user interface is used. This user interface separates
messages into two categories: (1) messages needing a reply and (2) messages not needing a
reply. New messages are shown at the top of each message list.
*INTERMED: The system user interface is used.
Note:
This command displays messages in the requesters work station message queue followed by the user
profile message queue. If there are no messages in the work station queue, the user profile message
queue is shown immediately.
Example 2: Displaying Informational Messages
DSPMSG
MSGQ(SMITH)
MSGTYPE(*INFO)
This command displays, at the requesters work station, any informational messages in the message
queue named SMITH.
Error messages for DSPMSG
Command Descriptions
15
*ESCAPE Messages
CPF2203
User profile &1 not correct.
CPF2204
User profile &1 not found.
CPF2213
Not able to allocate user profile &1.
CPF2217
Not authorized to user profile &1.
CPF2225
Not able to allocate internal system object.
CPF2401
Not authorized to library &1.
CPF2403
Message queue &1 in &2 not found.
CPF2408
Not authorized to message queue &1.
CPF2433
Function not allowed for system log message queue &1.
CPF2450
Work station message queue &1 not allocated to job.
CPF2451
Message queue &1 is allocated to another job.
CPF2477
Message queue &1 currently in use.
CPF2513
Message queue &1 cannot be displayed.
CPF2537
Too many records written to file &2 in &3.
CPF8127
&8 damage on message queue &4 in &9. VLIC log-&7.
CPF8176
Message queue for device description &4 damaged.
CPF9830
Cannot assign library &1.
CPF9845
Error occurred while opening file &1.
CPF9846
Error while processing file &1 in library &2.
CPF9847
Error occurred while closing file &1 in library &2.
16
MODD(CICS2)
This command displays information about mode description CICS2. If the command is entered from a
batch job, the output from the display is printed with the jobs spooled output.
Error messages for DSPMODD
*ESCAPE Messages
CPF260A
Mode description &1 not found.
CPF262B
Mode description &1 previously deleted.
CPF262C
Mode description &1 damaged.
CPF2625
Not able to allocate object &1.
CPF2634
Not authorized to object &1.
Command Descriptions
17
The Display Mode Status (DSPMODSTS) command displays the status of all modes associated with an
APPC device description. The display shows the status of the APPC device, the current number of source,
target, and detached conversations in use, and configured and operational session maximum values.
Restriction: This command is valid only for APPC device descriptions.
Required Parameter
DEV
Optional Parameters
MODE Specifies the name of the mode whose status is being shown.
*ALL: All the modes used by the specified device are shown.
BLANK: The mode name consisting of 8 blank characters is used.
mode-name: Specify the name (up to 8 characters) of the mode whose status is being shown for
the specified device. The mode name may contain the characters A through Z, 0 through 9, $, #,
and @.
OUTPUT
Specifies whether the output from the command is shown at the requesting work station or printed
with the jobs spooled output. More information on this parameter is in commonly used
parameters.
*: Output requested by an interactive job is shown on the display. Output requested by a batch job
is printed with the jobs spooled output.
*PRINT: The output is printed with the jobs spooled output.
Example for DSPMODSTS
DSPMODSTS
DEV(MINN2)
MODE(CICS2)
This command shows the status of the mode CICS2 used by the device MINN2. If the command is
entered from a batch job, the output from the display is printed with the jobs spooled output.
Error messages for DSPMODSTS
*ESCAPE Messages
CPF2625
Not able to allocate object &1.
CPF2634
Not authorized to object &1.
CPF2688
Device &1 is not in a proper status to get mode information.
CPF2698
Mode &1 not found for device &2.
CPF2702
Device description &1 not found.
CPF2706
Device &1 not *APPC type device.
CPF9850
Override of printer file &1 not allowed.
18
*LIBL: All libraries in the jobs library list are searched until the first match is found.
*CURLIB: The current library for the job is searched. If no library is specified as the
current library for the job, the QGPL library is used.
Optional Parameters
DETAIL
Specifies the set of information to be displayed for the module. More than one value can be
specified, but *ALL must be specified as a single value. DETAIL(*ALL) is valid only when
information is displayed or printed. It is not valid if *OUTFILE is chosen for OUTPUT.
*ALL: All the information applicable to the specified module is displayed or printed.
*BASIC: The basic module information, module compatibility section, and SQL information is
shown.
*SIZE: The size and size limits for this module are shown.
*EXPORT: The symbols and type defined in this module that are exported to other modules are
shown.
*IMPORT: The symbols and type defined externally to this module are shown.
*PROCLIST: A list of the procedure names with their type is shown.
*REFSYSOBJ: A list of the system objects referred to by this module when the module is bound
into a bound program or service program is shown.
*COPYRIGHT: Copyright information for this module is shown.
Command Descriptions
19
OUTPUT
Specifies whether the output from this command is displayed, printed, or directed to a database
file. More information on this parameter is in commonly used parameters.
*: Output requested by an interactive job is shown on the display. Output requested by a batch job
is printed with the jobs spooled output.
*PRINT: The output is printed with the jobs spooled output.
*OUTFILE: The output is directed to the database file specified on the OUTFILE parameter.
Note:
Note:
OUTFILE
Specifies the qualified name of the database file to which the output of the display is directed. If
the OUTFILE does not exist, this command creates a database file in the specified library. If the
file is created, the text is Output file for DSPMOD. The public authority of the file is the same as
the create authority specified for the library in which the file is created. The record format of the
output file will be the same as that used in the IBM-supplied database file.
Note:
The IBM-supplied database files and their record formats are as follows:
Detail
*BASIC
*SIZE
*EXPORT
*IMPORT
*PROCLIST
20
File
QABNDMBA
QABNDMSI
QABNDMEX
QABNDMIM
QABNDMPR
Record Format
QBNDMBAS
QBNDMSIZ
QBNDMEXP
QBNDMIMP
QBNDMPRO
Detail
*REFSYSOBJ
*COPYRIGHT
File
QABNDMRE
QABNDMCO
Record Format
QBNDMREF
QBNDMCOP
The name of the database file can be qualified by one of the following library values:
*LIBL: All libraries in the jobs library list are searched until the first match is found.
*CURLIB: The current library for the job is searched. If no library is specified as the
current library for the job, the QGPL library is used.
MODULE(MYMOD)
This command displays module object MYMOD from the library list.
Error messages for DSPMOD
*ESCAPE Messages
CPF5CE7
Error occurred while retrieving *MODULE data
CPF9801
Object &2 in library &3 not found.
CPF9802
Not authorized to object &2 in &3.
Command Descriptions
21
CPF9803
Cannot allocate object &2 in library &3.
CPF9807
One or more libraries in library list deleted.
CPF9808
Cannot allocate one or more libraries on library list.
CPF9810
Library &1 not found.
CPF9820
Not authorized to use library &1.
CPF9830
Cannot assign library &1.
CPF9871
Error occurred while processing.
This command shows the source debug displays for programs that are to be debugged.
Error messages for DSPMODSRC
22
OBJ
Specifies the path name of an object that is within the mounted file system whose statistics are to
be displayed. Any object in the mounted file system can be specified. For example, it can be a
directory (*DIR) or a stream file (*STMF).
Optional Parameter
OUTPUT
Specifies whether the output from the command is shown at the requesting work station or printed
with the jobs spooled output.
*: Output requested by an interactive job is shown on the display. Output requested by a batch job
is printed with the jobs spooled output.
*PRINT: The output is printed with the jobs spooled output.
Examples for DSPMFSINF
Example 1: Displaying Statistics of a Mounted File System
DSPMFSINF
OBJ(/jsmith/file1)
This command displays the statistics for the mounted file system that contains /jsmith/file1.
Example 2: Displaying QSYS.LIB File System Statistics
DSPMFSINF
OBJ(/QSYS.LIB/MYLIB.LIB/MYFILE.FILE)
This command displays the statistics for the QSYS.LIB file system that contains *FILE object MYFILE in
library MYLIB.
Error messages for DSPMFSINF
Command Descriptions
23
*: Output requested by an interactive job is shown on the display. Output requested by a batch job
is printed with the jobs spooled output.
*PRINT: The output is printed with the jobs spooled output.
Example for DSPNTBD
DSPNTBD
NTBD(MYNETBIOS)
This command displays information about the NetBIOS description named MYNETBIOS. The information
is shown at the workstation from which the command was entered. If the command was submitted from a
batch job, the output from the command is printed with the jobs spool output.
Error messages for DSPNTBD
*ESCAPE Messages
CPF26B2
NetBIOS description &1 previously deleted.
OUTPUT(*)
If the job is interactive, this command displays the network attributes of the system at the work station. If
the job is batch, the network attributes are printed with the jobs spooled output.
Error messages for DSPNETA
*ESCAPE Messages
CPF9845
Error occurred while opening file &1.
CPF9846
Error while processing file &1 in library &2.
CPF9847
Error occurred while closing file &1 in library &2.
CPF9850
Override of printer file &1 not allowed.
24
CPF9851
Overflow value for file &1 in &2 too small.
CPF9871
Error occurred while processing.
NWID(ISDNNET)
Command Descriptions
25
This command displays information about the network interface description named ISDNNET. The
information is shown an the work station display from which the command was submitted. If the command
is entered from a batch job, the output from the display is printed with the jobs spooled output.
Error messages for DSPNWID
*ESCAPE Messages
CPD2637
Not authorized to object &1.
CPF2625
Not able to allocate object &1.
CPF2634
Not authorized to object &1.
CPF27AA
Option not allowed for network interface &1.
CPF27A4
Network interface description &1 not found.
CPF27A5
Network interface description &1 has been damaged.
CPF27A8
&2 not valid for network interface &1.
26
OUTPUT(*)
If the job is interactive, this command displays the network server attributes of the system at the
workstation. If the job is batch, the network server attributes are printed with the jobs spooled output.
Error messages for DSPNWSA
*ESCAPE Messages
CPFA452
Network server attributes not displayed.
NWSD(SERVER1)
Command Descriptions
27
This command displays information about the network server description named SERVER1. Since no
option was specified, all information is displayed. The information is shown at the work station display from
which the command was entered. If the command was submitted from a batch job, the output from the
command is printed with the jobs spooled output.
Error messages for DSPNWSD
NWSSTG(STGSPACE1)
28
Optional Parameters
USRPRF
Specifies the name of a user or group profile.
*CURRENT: The user profile attributes for the current user profile are displayed.
user-name: Specify the name of a user or group profile to be displayed.
PRFTYPE
Specifies whether the information to be displayed is for a user profile or for a group profile.
*USER: The information to be displayed is for a user profile.
*GROUP: The information to be displayed is for a group profile.
OPTION
Specifies the displays to be shown.
*ALL: All displays that apply to all server types are shown.
*NETWARE: The displays that apply to the *NETWARE server type are shown, but additional
information displays are not shown.
*WINDOWSNT: The displays that apply to the *WINDOWSNT server type are shown, but
additional information displays are not shown.
OUTPUT
Specifies whether the output from the command is shown at the requesting workstation or printed
with the jobs spooled output. More information on this parameter is in Commonly used
parameters.
*: Output requested by an interactive job is shown on the display. Output requested by a batch job
is printed with the jobs spooled output.
*PRINT: The output is printed with the jobs spooled output.
Example for DSPNWSUSRA
DSPNWSUSRA
USRPRF(NWSUSR1)
If the job is interactive, this command displays the network server user attributes defined for user
NWSUSR1 at the workstation. If the job is batch, the network server user attributes for user NWSUSR1 is
printed with the jobs spooled output.
Error messages for DSPNWSUSRA
*ESCAPE Messages
CPFA453
Network server user attributes not displayed.
Command Descriptions
29
Output is directed to a display or a spooled printer file as indicated by the OUTPUT parameter and job
type.
Optional Parameters
SERVER
Specifies the name of a network server.
server-name: Specify the name of a specific, active server defined for the network.
SVRTYPE
Specifies the server type to use when displaying users.
*NWSUSRA: The server type specified in the network server user attributes (CHGNWSUSRA
command) for the user profile running the DSPNWSUSR command is used to display the network
users.
*NWSA: The network server type specified in the network server attributes (CHGNWSA command)
is used to display the network users.
*NETWARE: Only those NetWare users associated with the specified network server are
displayed.
OUTPUT
Specifies whether the output from the command is shown at the requesting workstation or printed
with the jobs spooled output. More information on this parameter is in commonly used
parameters.
*: Output requested by an interactive job is shown on the display. Output requested by a batch job
is printed with the jobs spooled output.
*PRINT: The output is printed with the jobs spooled output.
Example for DSPNWSUSR
DSPNWSUSR
SERVER(NWS1)
SVRTYPE(*NETWARE)
The above command will allow you to display all of the NetWare users currently active for the server
named NWS1. If NWS1 does not exist or is not active, an error message (server NWS1 not found or
server NWS1 not active) will be returned.
Error messages for DSPNWSUSR
*ESCAPE Messages
CPFA43C
Network server users not displayed.
30
book.
NCK(*ALL *PRIVATE)
This command shows a list of private nicknames to the owner of the nicknames. The owner can request to
show or print additional information for the nicknames shown.
Example 2: Printing a List of Nicknames
DSPNCK
NCK(MANAGER *PRIVATE)
OUTPUT(*PRINT)
This command prints detailed information on the users private nickname MANAGER.
Example 3: Directing Nicknames to a Database File
DSPNCK
NCK(*ALL *PUBLIC) OUTPUT(*OUTFILE)
OUTFILE(ALLNICKS) OUTMBR(*FIRST *REPLACE)
This command directs one record for each public nickname in the directory to the database file ALLNICKS.
If this file is not found in the library list (the default library qualifier), it is created in the users default library
or in the QGPL library if no user default library is specified.
Example 4: Directing Nicknames for an Owner to a Database File
DSPNCK
NCK(*ALL *PUBLIC) OWNER(CDJONES)
OUTFILE(NICKNAME/CDJONES) OUTMBR(*FIRST *REPLACE)
This command directs one record for each public nickname owned by the user whose user profile is
CDJONES to the database file CDJONES in the library NICKNAME. If this file is not found in the library
NICKNAME, it is created.
Error messages for DSPNCK
*ESCAPE Messages
CPF9A89
Nickname function not successful.
CPF9009
System requires file &1 in &2 be journaled.
CPF9820
Not authorized to use library &1.
CPF9822
Not authorized to file &1 in library &2.
CPF9838
User profile storage limit exceeded.
Command Descriptions
31
CPF9845
Error occurred while opening file &1.
CPF9846
Error while processing file &1 in library &2.
CPF9847
Error occurred while closing file &1 in library &2.
CPF9850
Override of printer file &1 not allowed.
CPF9851
Overflow value for file &1 in &2 too small.
CPF9860
Error occurred during output file processing.
*LIBL: All libraries in the jobs library list are searched until the first match is found.
*CURLIB: The current library for the job is searched. If no library is specified as the
current library for the job, the QGPL library is used.
*USRLIBL: Only the libraries in the user portion of the jobs library list are searched.
Optional Parameter
OUTPUT
Specifies whether the output from the command is shown at the requesting workstation or printed
with the jobs spooled output. More information on this parameter is in commonly used
parameters.
*: Output requested by an interactive job is shown on the display. Output requested by a batch job
is printed with the jobs spooled output.
32
NODGRP(LIB1/GROUP1)
This command displays the systems in the node group called GROUP1 and the partitioning scheme
associated with the node group. The information is shown at the workstation.
Example 2: Printing a Node Group
DSPNODGRP
NODGRP(LIB1/GROUP2)
OUTPUT(*PRINT)
This command creates a spooled file that contains a list of the systems in the node group called GROUP1
and the associated partitioning scheme.
Error messages for DSPNODGRP
*ESCAPE Messages
CPF2189
Not authorized to object &1 in &2 type *&3.
CPF3166
Node group &1 in library &2 not found.
CPF9804
Object &2 in library &3 damaged.
CPF9810
Library &1 not found.
CPF9820
Not authorized to use library &1.
Command Descriptions
33
If the user entering the command does not have object management authority for the object, only that
users name and authorities are shown. The names of the other users and their authorities for the object
are not shown. If an object does not have an owner name associated with it, no authorities for the object
are shown.
You must have *USE authority to the auxiliary storage pool device if one is specified.
Required Parameters
OBJ
Specifies the qualified name of the object for which the authorized users and their authorities are
displayed.
The name of the object can be qualified by one of the following library values:
*LIBL: All libraries in the jobs library list are searched until the first match is found.
*CURLIB: The current library for the job is searched. If no library is specified as the
current library for the job, the QGPL library is used.
*LIBL: All libraries in the jobs library list are searched until the first match is found.
*CURLIB: The current library for the job is searched. If no library is specified as the
current library for the job, the QGPL library is used.
34
Command Descriptions
35
OBJ(ARLIB/PROG1)
OBJTYPE(*PGM)
This command shows the authorized users and their authorities for the object named PROG1 to the user
who entered the command, if that user has object management authority for the object. If the user does
not have object management authority, only personal authorities are shown. PROG1 is a program (*PGM)
located in the library named ARLIB. The system assumes * for the device that shows the output list. If the
command was entered in the batch subsystem, the output is placed in the default output queue for the job.
If the command was entered in the interactive subsystem, the output is shown on the device where the
user entered the command.
Example 2: Printing List of Users
DSPOBJAUT
OBJ(ARLIB/PROG2)
OUTPUT(*PRINT)
OBJTYPE(*PGM)
This command causes the list of authorized users of the program named PROG2 in the ARLIB library to
be printed. If the user who enters the command does not have object management authority for the
program, only that users name and authorities are printed.
Error messages for DSPOBJAUT
*ESCAPE Messages
CPF2204
User profile &1 not found.
CPF2207
Not authorized to use object &1 in library &3 type *&2.
CPF2208
Object &1 in library &3 type *&2 not found.
CPF2209
Library &1 not found.
CPF2211
Not able to allocate object &1 in &3 type *&2.
CPF2216
Not authorized to use library &1.
CPF224E
The AUTTYPE value of *FIELD is not valid for file &1 in library &2.
CPF2283
Authorization list &1 does not exist.
CPF980B
Object &1 in library &2 not available.
CPF9814
Device &1 not found.
CPF9825
Not authorized to device &1.
CPF9843
Object &1 in library &3 type &2 cannot be accessed.
CPF9860
Error occurred during output file processing.
36
CPF9873
ASP status is preventing access to object.
You must have *EXECUTE authority for the specified libraries, and some authority (that is, any one
of the authorities other than *EXCLUDE) for each of the objects. If you do not have *EXECUTE
authority to a library, none of its objects are shown.
2. The user must have *EXECUTE authority for the auxiliary storage pool (ASP) device if a specific ASP
device name is specified on the ASPDEV parameter.
Required Parameters
OBJ
Specifies which objects in the libraries are to have their object attributes shown. If no library
qualifier is specified, *LIBL is assumed, and all libraries in the threads library list are searched for
the objects. Objects in the library for which the user does not have some authority are not shown.
The name of the object can be qualified by one of the following library values:
All libraries in the threads library list are searched. If ASPDEV is specified when
*LIBL:
this value is used, ASPDEV(*) is the only valid value.
Command Descriptions
37
*CURLIB:
The current library for the thread is searched. If no library is specified as the
current library for the thread, the QGPL library is searched. If ASPDEV is specified when
this value is used, ASPDEV(*) is the only valid value.
*USRLIBL:
Only the libraries in the user portion of the threads library list are
searched. If ASPDEV is specified when this value is used, ASPDEV(*) is the only valid
value.
*ALL:
All libraries in the auxiliary storage pools specified by the ASPDEV parameter
are searched.
*ALLUSR:
All user libraries in the auxiliary storage pools (ASPs) defined by the
ASPDEV parameter are searched. User libraries are all libraries with names that do not
begin with the letter Q except for the following:
#CGULIB
#COBLIB
#DFULIB
#DSULIB
#RPGLIB
#SDALIB
#SEULIB
Although the following libraries with names that begin with the letter Q are provided by
IBM, they typically contain user data that changes frequently. Therefore, these libraries are
also considered user libraries:
QDSNX
QGPL
QGPL38
QMPGDATA
QMQMDATA
QMQMPROC
QPFRDATA
QRCL
QSYS2xxxxx
QS36F
QUSER38
QUSRADSM
QUSRBRM
QUSRDIRCL
QUSRDIRDB
QUSRIJS
QUSRINFSKR
QUSRNOTES
QRCLxxxxx
QSYS2
QUSROND
QUSRPOSGS
QUSRPOSSA
QUSRPYMSVR
QUSRRDARS
QUSRSYS
QUSRVI
QUSRVxRxMx
Notes:
xxxxx is the number of a primary auxiliary storage pool.
1.
2. A different library name, of the form QUSRVxRxMx, can be created by the user for
each release that IBM supports. VxRxMx is the version, release, and modification level
of the library.
38
v If the library qualifier is *ALL, *ALLUSR, or a library name, all objects of the specified types for
which the user has some authority (for example, object operational authority) and that are in the
specified libraries are shown.
v
The user can show only those objects for which the user has some authority.
generic*-object-name: Specify the generic name of the object. A generic name is a character string
of one or more characters followed by an asterisk (*); for example, ABC*. The asterisk substitutes
for any valid characters. A generic name specifies all objects with names that begin with the
generic prefix for which the user has authority. If an asterisk is not included with the generic
(prefix) name, the system assumes it to be the complete object name. For more information on the
use of generic names, refer to generic names.
object-name: Specify the name of the object that is shown.
Single Values
*ALLUSR: When the object name has a value of *ALLUSR, the object type must be *LIB. All
user libraries in the auxiliary storage pools specified by the ASPDEV parameter are shown. Refer
to *ALLUSR in the description of the library qualifier above for a definition of user libraries.
*IBM: When the object name has a value of *IBM, the object type must be *LIB. All libraries in
the auxiliary storage pools specified by the ASPDEV parameter which are saved/restored on the
SAVLIB/RSTLIB CL commands with LIB(*IBM) are shown.
OBJTYPE
Specifies the types of objects that are shown. More information on this parameter is in commonly
used parameters.
*ALL: All object types that have the specified object name are shown. If the library qualifier
specified or assumed for the OBJ parameter is *USRLIBL or *LIBL and the object name is a
specific name (not *ALL and not a generic name), *ALL cannot be specified for OBJTYPE.
object-type: Specify one or more values for the types of OS/400 system objects to be shown. Any
of the OS/400 system object types can be specified. Objects in the specified libraries, as well as
libraries themselves, that have the object types specified have their object attributes shown. If the
and the
library qualifier specified or assumed for the OBJ parameter is *USRLIBL or *LIBL
object name is a specific name (not *ALL and not a generic name), only one object type (and it
cannot be *ALL) can be specified.
Optional Parameters
DETAIL
Specifies which set of attributes is shown for each object.
When the output is directed to a database file, the DETAIL parameter is ignored and all object
attribute information is written to the file.
*BASIC: The display or printed output contains the name and a basic set of object attributes for
each object.
*FULL: The display or printed output contains the name and a full set of object attributes for each
object, which includes the basic set of attributes.
*SERVICE: The display or printed output contains the service-related attributes for each object.
ASPDEV
Specifies the auxiliary storage pool (ASP) device name where storage is allocated for the library of
the object being displayed (LIB parameter). If the library resides in an ASP that is not part of the
Command Descriptions
39
threads library name space, this parameter must be specified to ensure the correct library is
searched. ASPDEV(*) is the only valid value if *LIBL, *CURLIB, or *USRLIBL is specified as the
library qualifier on the OBJ parameter.
Single Values
*: The ASPs that are currently part of the threads library name space will be searched to locate
the library. This includes the system ASP (ASP 1), all defined basic user ASPs (ASPs 2-32), and, if
the thread has an ASP group, the primary and secondary ASPs in the threads ASP group.
*ALLAVL: All available ASPs will be searched. This includes the system ASP (ASP 1), all defined
basic user ASPs (ASPs 2-32), and all available primary and secondary ASPs (ASPs 33-255 with a
status of Available). ASPs and libraries to which the user is not authorized are bypassed and no
authority error messages are sent.
*CURASPGRP: If the thread has an ASP group, the primary and secondary ASPs in the ASP
group will be searched to locate the library. The system ASP (ASP 1) and defined basic user ASPs
(ASPs 2-32) will not be searched.
*SYSBAS: The system ASP (ASP 1) and all defined basic user ASPs (ASPs 2-32) will be
searched to locate the library. No primary or secondary ASPs will be searched, even if the thread
has an ASP group.
Element 1: Auxiliary storage pool (ASP) device
auxiliary-storage-pool-device-name: The device name of the primary or secondary ASP to be
searched. The primary or secondary ASP must have been activated (by varying on the ASP
device) and have a status of Available. The system ASP (ASP 1) and defined basic user ASPs
(ASPs 2-32) will not be searched.
Element 2: Auxiliary storage pool (ASP) search type
*ASP: Specifies that only the single auxiliary storage pool (ASP) device named in element 1 is to
be searched
*ASPGRP: Specifies that the entire group of the primary auxiliary storage pool (ASP) device
named in element 1 is to be searched.
OUTPUT
Specifies whether the output from the command is shown at the requesting work station, printed
with the threads spooled output, or directed to a database file. More information on this parameter
is in commonly used parameters.
*: Output requested by an interactive thread is shown on the display. Output requested by a batch
thread is printed with the threads spooled output.
*PRINT: The output is printed with the threads spooled output.
*OUTFILE: The output is directed to the database file specified on the OUTFILE parameter.
Note:
OUTFILE
Specifies the qualified name of the database file to which the output of the display is directed. If
the OUTFILE does not exist, this command creates a database file in the specified library. If the
file is created, the text is output file for DSPOBJD. The public authority is the same as the create
authority specified for the library in which the file is created. The database format (QLIDOBJD) of
the output file is the same as that used in the IBM-supplied file database QADSPOBJ.
The name of the database file can be qualified by one of the following library values:
40
*LIBL: All libraries in the threads library list are searched until the first match is found.
*CURLIB: The current library for the thread is searched. If no library is specified as the
current library for the thread, the QGPL library is used.
OBJ(X/PAY)
OBJTYPE(*ALL)
A basic description of all the objects (for which the user has some authority) that are named PAY in library
X are shown. Objects in the library for which the user has no authority are not shown.
Example 2: Displaying a Full Description of a Program
DSPOBJD
OBJ(X/PAY)
OBJTYPE(*PGM)
DETAIL(*FULL)
A full description of the program named PAY in library X is shown. The display includes all the attributes of
the program.
Example 3: Displaying Program Information
DSPOBJD
OBJ(*USRLIBL/PAY)
OBJTYPE(*PGM)
This command shows information about the first program named PAY that is found in the user portion of
the threads library list.
Example 4: Displaying a Basic Description of Files
DSPOBJD
OBJ(Z/ABC*)
OBJTYPE(*FILE)
A basic description of all of the files whose names begin with ABC (generic name) located in library Z, for
which the user has some authority, are shown.
Command Descriptions
41
42
CPF9825
Not authorized to device &1.
CPF9827
Object &1 cannot be created or moved into &2.
CPF9833
*CURASPGRP or *ASPGRPPRI specified and thread has no ASP group.
CPF9845
Error occurred while opening file &1.
CPF9846
Error while processing file &1 in library &2.
CPF9847
Error occurred while closing file &1 in library &2.
CPF9850
Override of printer file &1 not allowed.
CPF9851
Overflow value for file &1 in &2 too small.
CPF9860
Error occurred during output file processing.
OUTPUT
Specifies whether the output from the command is shown at the requesting workstation or printed
with the jobs spooled output. More information on this parameter is in commonly used
parameters.
*: Output requested by an interactive job is shown on the display. Output requested by a batch job
is printed with the jobs spooled output.
Command Descriptions
43
OBJ(X/PAY)
This command displays the object PAY located in directory X in the current directory.
Error messages for DSPLNK
*ESCAPE Messages
CPF9899
Error occurred during processing of command.
CPFA085
Home directory not found for user &1.
CPFA0A7
Path name too long.
CPFA0A9
Object not found. Object is &1.
44
When DATA(*VOLATR) is specified the database file will have a record format named QAMODVA.
The fields in the database are the same as the fields in the IBM-supplied format QAMODVA in file
QAMODVAF located in library QSYS.
When DATA(*DIRATR) is specified the database file will have a record format named QAMODPA.
The fields in the database are the same as the fields in the IBM-supplied format QAMODPA in file
QAMODPAF located in library QSYS.
When DATA(*FILATR) is specified the database file will have a record format named QAMODFA.
The fields in the database are the same as the fields in the IBM-supplied format QAMODFA in file
QAMODFAF located in library QSYS.
Restriction: To use this command you must have *USE authority to the authorization list securing the
volumes being displayed.
Required Parameter
VOL
Specifies the identifier of the optical volume which contains the information being shown.
*ALL: The information is shown for all optical volumes on the specified directly attached optical
device (DEV parameter).
*MOUNTED: The information is shown for the volume mounted on the specified device (DEV
parameter).
Note:
This value is valid only for optical devices, not for library
devices.
Specifies the name of the optical device containing the optical volume whose information is
displayed.
This parameter is ignored when a specific volume name is
specified on the VOL parameter.
Command Descriptions
45
*ALL: The volume attributes are displayed for optical volumes on all directly attached optical
devices.
Note:
Specifies the path name of the directory or the file on the volume being displayed, beginning with
the root directory of the volume. The DATA parameter indicates whether the directory or the file
attributes are displayed. The object path name can be either a simple name or a name that is
qualified with the name of the directory in which the object is located. A pattern can be specified in
the last part of the path name. An asterisk (*) matches any number of characters. If the path name
is qualified or contains a pattern, it must be enclosed in apostrophes.
Note:
path-name: Specify either a path for a directory or file. The DATA parameter indicates whether
directory or file attributes will be displayed for the specified path.
A pattern can be specified in the last part of the name by specifying an asterisk as the last
character. If a pattern is specified, all files or directories with names that begin with the specified
characters will be displayed.
*ALL can be specified in the last part of the name. If specified, all files or directories in the
specified path will be displayed.
*ALL: *ALL can have different meanings based on how parameter DATA is specified. Following is
a list of combinations and their meanings.
v DATA(*VOLATR) and PATH(*ALL), the PATH parameter is ignored.
v DATA(*SAVRST) and PATH(*ALL), all save/restore files for all directories on the volume will be
listed.
v DATA(*SAVRST) and PATH(/directory1/*ALL), all save/restore files in the path /directory1 will be
listed.
v DATA(*DIRATR) and PATH(*ALL), all directories attributes for all directories on the volume will
be listed.
v DATA(*DIRATR) and PATH(/directory1/*ALL), all directories attributes for directories in the path
/directory1 will be listed.
v DATA(*FILATR) and PATH(*ALL), all file attributes for files in the root directory (/) of the volume
will be listed.
46
v DATA(*FILATR) and PATH(/directory1/*ALL), all file attributes for files in /directory1 of the
volume will be listed.
OUTPUT
Specifies whether the output from the command is displayed at the requesting work station,
printed with the jobs spooled output, added to a database file or directed to a user space.
*: Output requested by an interactive job is shown on the display. If the command is run as part of
a batch job, the output is printed with the jobs spooled output.
*PRINT: The output is printed with the jobs spooled output.
*OUTFILE: The output is directed to the database file specified on the OUTFILE parameter.
*USRSPC: The output is added to the user space specified on the USRSPC parameter.
USRSPC
Specifies the qualified name of the user space to which the output of the display is added.
Note:
The name of the user space can be qualified by one of the following library values:
*LIBL: All libraries in the jobs library list are searched until the first match is found.
*CURLIB: The current library for the job is searched. If no library is specified as the
current library for the job, the QGPL library is used.
*YES: The user space is replaced if found. The existing authorities of the original user space are
retained, but the contents are replaced.
*NO: The user space is not replaced if found. The request ends and a message is sent to the job
log indicating that the user space already exists in the library and cannot be created.
OUTFILE
Specifies the name of the database file to which the output of the display is added.
Note:
The name of the database file can be qualified by one of the following library values:
*LIBL: All libraries in the jobs library list are searched until the first match is found.
Command Descriptions
47
*CURLIB: The current library for the job is searched. If no library is specified as the
current library for the job, the QGPL library is used.
VOL(*ALL)
DEV(*ALL)
This command displays the volume attributes for all volumes in all local optical devices and libraries.
Example 2: Displaying Attributes Using a Generic Search
DSPOPT
VOL(PAY*)
DATA(*DIRATR)
PATH(/*)
This command displays the attributes for all directories in the root directory of all optical volumes beginning
with the characters PAY.
Example 3: Displaying Attributes of a Specific Directory
DSPOPT
VOL(VOL01) DEV(OPT01)
PATH(/DIR1/DIR2/*)
DATA(*FILATR)
This command displays the file attributes for all files in the directory /DIR1/DIR2 of optical volume VOL01.
Example 4: Displaying Save and Restore Data
48
DSPOPT
VOL(*MOUNTED)
PATH(*ALL)
DEV(OPT01)
DATA(*SAVRST)
This command displays the save and restore data for all files found on the optical volume mounted in
device OPT01.
Error messages for DSPOPT
*ESCAPE Messages
CPF1247
Subsystem &1 cannot start prestart job &2.
CPF384C
Error occurred during CCSID conversion.
CPF3864
&2 &1 in &3 not restored.
CPF386A
File not found.
CPF5729
Not able to allocate object &1.
CPF9810
Library &1 not found.
CPF9815
Member &5 file &2 in library &3 not found.
CPF9845
Error occurred while opening file &1.
CPF9850
Override of printer file &1 not allowed.
CPF9851
Overflow value for file &1 in &2 too small.
CPF9860
Error occurred during output file processing.
OPT1115
File not found.
OPT1125
File is in use.
OPT1135
Request failed because number of open files is at the limit.
OPT1140
Unexpected error occurred during file processing.
OPT1185
Cannot access held optical file.
OPT1205
Directory not found.
OPT1212
Directory in use.
OPT1224
Path length exceeds the maximum of 256 bytes.
Command Descriptions
49
OPT1247
User space &1 not created in library &2.
OPT1255
File is corrupted.
OPT1317
Directory name is too long.
OPT1320
Optical volume &1 in use.
OPT1325
Optical volume format not recognized.
OPT1330
Optical volume not found or not useable.
OPT1331
Optical volume &1 not found.
OPT1340
Optical volume &1 not initialized.
OPT1346
Operation not allowed to volume located in a remote optical device.
OPT1360
Media directory corrupted on optical volume &1.
OPT1427
A generic or *ALL volume request is not allowed with DATA value.
OPT1460
Optical volume &1 is not in an optical device.
OPT1463
Operation not completed, optical volume is not a primary volume.
OPT1489
Volume parameter is not permitted for device &1.
OPT1530
&1 does not represent a valid optical device.
OPT1555
Optical device &1 in use.
OPT1605
Media or device error occurred.
OPT1640
Error occurred reading files or directories.
OPT1790
Operation conflicts with another request.
OPT1805
Error accessing optical volume index file.
OPT1810
Error accessing optical directory index file.
OPT1813
Unexpected error occurred.
50
OPT1815
Internal program error occurred.
OPT1820
Internal error occurred on optical device &1.
OPT1821
Internal error occurred on optical device &1.
OPT1825
Optical indexes are incorrect for optical device &1.
OPT1860
Request to optical device &1 failed.
OPT1861
No device description configured for resource &1.
OPT1862
No active device description for resource &1.
OPT1863
Optical libraries need to be reclaimed.
OPT1872
Optical request timed out.
OPT2040
Error accessing backup control file.
OPT2301
Internal system object in use.
OPT6713
Display volume details failed.
OPT7740
User not authorized to object &2 in library &3 type &4.
Command Descriptions
51
*JOB: Job information and locks on all jobs currently performing optical requests are displayed or
printed.
Optional Parameters
VOL
Specifies the volume identifier of the optical volume for which the locks are listed.
PATH
Specifies the path name of the directory or file on the volume for which the locks are listed.
Note:
OUTPUT
Specifies whether the output from the command is shown at the requesting workstation or printed
with the jobs spooled output. More information on this parameter is in commonly used
parameters.
*: Output requested by an interactive job is shown on the display. If the command is run as part of
a batch job, the output is printed with the jobs spooled output.
*PRINT: The output is printed with the jobs spooled output.
Examples for DSPOPTLCK
Example 1: Displaying Locks on a File
DSPOPTLCK
TYPE(*FILE) VOLUME(VOL001)
PATH(/PAYROLL/JAN1995)
This command displays the locks held on the file JAN1995 in the directory /PAYROLL on the VOL001
volume.
Example 2: Displaying Locks for Active Jobs
DSPOPTLCK
TYPE(*JOB)
52
*DEST: The destination information is displayed. This information includes a listing of all of the
optical servers accessible with the hierarchical file system APIs and the current status of each
destination.
*CONV: The conversation information is displayed. This information includes a listing of all active
optical conversations, the destination of each conversation, the jobs using the conversation, and
the path of each open file.
OUTPUT
Specifies whether the output from the command is shown at the requesting workstation or printed
with the jobs spooled output. More information on this parameter is in commonly used
parameters.
*: The requested data is shown on the display station.
*PRINT: The output is printed with the jobs spooled output.
Example for DSPOPTSVR
DSPOPTSVR
TYPE(*DEST)
This command displays the current status of each destination of all optical servers that have been started.
Error messages for DSPOPTSVR
*ESCAPE Messages
CPF4101
File &2 in library &3 not found or inline data file missing.
CPF6A1C
Unable to add print function.
CPF9845
Error occurred while opening file &1.
CPF9850
Override of printer file &1 not allowed.
CPF9851
Overflow value for file &1 in &2 too small.
OPT6710
Optical server support is not active.
Command Descriptions
53
*: The output is shown (if requested by an interactive job) or printed with the jobs spooled output
(if requested by a batch job).
Example for DSPOPCLNK
DSPOPCLNK OUTPUT(*PRINT)
This command will produce a listing showing the status of all connections that may be used by
OptiConnect.
No error messages.
Optional Parameters
FILE
Specifies whether all file overrides, or file overrides for a specific file, are displayed.
*ALL: All the file overrides from call level one to the specified call level are displayed.
*PRTF: The *PRTF file override, which exists in the call level where this command is entered, is
displayed.
overridden-file-name: Specify the name of the file for which all the file overrides, from call level
one to the specified call level, are displayed.
MRGOVR
Specifies whether the file overrides are merged. Only those parameters on the overrides of the
same type as the last override used for the merged override are used in determining the effective
override for the specified call level.
*YES: The file overrides displayed are merged.
*NO: The file overrides displayed are not merged.
LVL
54
Specifies the call levels of the file overrides displayed. There is a one-to-one correspondence
between the call stack entries displayed on the call stack from the WRKJOB command and the
call level for that call stack entry.
The first call stack entry name displayed on the call stack (at the top of the list) is the program or
procedure at call level one. The second call stack entry name displayed is the program or
procedure at call level two. The last call stack entry name displayed is the program or procedure
at the highest call level for the job.
v If a merged file override is displayed, file overrides from call level one to the specified call level
contributes to the creation of the merged file override.
v If MRGOVR(*NO) and FILE(*ALL) are specified, all file overrides (and the call levels at which
they were found) from call level one to the specified call level are displayed.
v If MRGOVR(*NO) is specified, and a file override name is specified on the FILE parameter, all
file overrides for the file specified (and the call levels at which they were found) from call level
one to the specified call level are displayed.
*: The call level of the file override displayed is the call level of the program that called the
DSPOVR command processing program. If the DSPOVR command is called to QCMDEXC, the
call level is the same level as that of QCMDEXC. Overrides at call level numbers greater than 999
are not displayed.
*JOB: The call levels of the file overrides displayed are all call levels for the job.
call-level-number: Specify the specific call levels of the file overrides displayed. A specific call level
is used to display file overrides at call levels lower than the call level at which the user is running.
Valid values range from 1 through 999.
OUTPUT
Specifies whether the output from the command is displayed at the requesting work station or
printed with the jobs spooled output. More information on this parameter is in Commonly used
parameters.
*: Output requested by an interactive job is shown on the display. Output requested by a batch job
is printed with the jobs spooled output.
*PRINT: The output is printed with the jobs spooled output.
ACTGRP
Specifies the level overrides to display for an activation group. When MRGOVR(*YES) is specified,
the activation group level overrides are processed after all call level overrides that are greater than
or equal to the call level of the oldest procedure in the activation group are processed.
*: The level overrides from the requesters activation group will be displayed.
activation-group-name: Specify the name of the activation group that specifies activation group
level overrides.
Examples for DSPOVR
Example 1: Displaying Merged Overrides
DSPOVR FILE(REPORTS) MRGOVR(*YES) LVL(3) OUTPUT(*)
This command produces a display showing the merged override for the file REPORTS at call level 3 with
text descriptions of each keyword and parameter. Applicable overrides at call levels 1, 2 and 3 are used to
form the merged override.
Example 2: Displaying File Overrides
DSPOVR FILE(REPORTS) MRGOVR(*NO) LVL(2) OUTPUT(*)
Command Descriptions
55
This command displays all file overrides for the file reports up to call level 2. It produces a display showing
the file name, the call level for which the override was requested, the type of override, and the override
parameters. If no file overrides are found for the file up to and including the specified call level, escape
message CPF9842 is sent.
Error messages for DSPOVR
*ESCAPE Messages
CPF1892
Function &1 not allowed.
CPF9842
Overrides not found for file &1.
CPF9845
Error occurred while opening file &1.
CPF9846
Error while processing file &1 in library &2.
CPF9847
Error occurred while closing file &1 in library &2.
CPF9850
Override of printer file &1 not allowed.
CPF9851
Overflow value for file &1 in &2 too small.
CPF9852
Page size too narrow for file &1 in &2.
Specifies the member that contains the performance data collected by the Collection Services.
*SELECT: The Select Performance Member display lists all members available in the specified
library so the user can select a member to show.
member-name: Specify the name of the member that contains the performance data to be
displayed.
LIB
Specifies the name of the library where the performance database files are located.
QPFRDATA: The IBM-supplied performance data library, QPFRDATA, is used to locate the
database files.
library-name: Specify the name of the library where the database files are located.
56
This command uses the Select Performance Member display to list the members available in the default
library QPFRDATA so the user can select a member to display performance data.
Example 2: Displaying Performance Data
DSPPFRDTA
MBR(JUNE1)
This command displays the performance data stored in member JUNE1 located in library QPFRDATA.
Error messages for DSPPFRDTA
*ESCAPE Messages
PFR1010
Cannot process request because of missing data.
PFR5501
Performance data file(s) are not upward compatible.
PFR5502
Cannot process request because of missing data.
PFR7001
Library &1 does not contain performance data.
PFR7003
Cannot show performance data.
PFR7005
Cannot show performance data.
PFR7006
Cannot show performance data.
PFR7022
No performance data to display.
PFR9031
Cannot use member &3 in performance graph.
PFR9072
Cannot use member &3 in historical graph.
PFR9114
No historical data to graph.
Command Descriptions
57
The graph format must have been defined on the Create Graph Format (CRTGPHFMT) command. The
graph can be sent as output to a graphics terminal, a non-graphics terminal, a printer, a plotter, or to a
graphics data format (GDF) file that can be used by other systems. Jobs can be selectively included or
omitted from the graph.
Required Parameters
GRAPH
Specifies the graph format or graph package used to create the graph.
The possible library values are:
v QPFRDATA: The graph format or graph package is located in the IBM-supplied performance
data library, QPFRDATA.
v *CURLIB: The current library is used to locate the graph format or graph package. If no library
is specified as the current library for the job, the QGPL library is used.
v library-name: Specify the name of the library where the graph format or graph package is
located.
format-name: Specify the name of the graph format. If this value is specified, a package name
cannot be specified.
package-name: Specify the name of the graph package. If this value is specified, format name
cannot be specified.
MBR
Specifies the name of the file member for which performance data will be shown in the graph.
Optional Parameters
LIB
TITLE Specifies a title to display at the top of the graph or of each graph of a package.
*SAME: The text of the graph title is the title defined in the graph format.
*BLANK: A blank title is used.
*MBRTEXT: The text of the selected member is used.
graph-title: Specify no more than 50 characters of text, enclosed in apostrophes.
SUBTITLE
Specifies a subtitle to display at the top of the graph or of each graph of a package.
*SAME: The text of the graph subtitle is the subtitle defined in the graph format.
*BLANK: A blank subtitle is used.
*MBRTEXT: The text of the selected member is used.
graph-subtitle: Specify no more than 50 characters of text, enclosed in apostrophes.
OUTPUT
Specifies whether the chart is to be displayed, plotted, printed, or saved in a graphics data format
(GDF) file.
*: The graph is shown on the output display. This special value is valid only if JOBD(*NONE) is
specified. Your display station can be either a graphics or nongraphics display station. A graphics
display station shows the graph with colors, shading, and so forth. A nongraphics display station
58
shows the graph using characters you choose to represent colors, shading, and so forth. Once
your graph is shown, you can define one overlay. An overlay is a graph that is placed on top of the
current graph.
*PRINT: The graph is sent to the QPPGGPH printer file while the spooled file has the same name
as the graph format. The appearance of graphs printed or displayed by graphical devices can be
different from how they appear when printed or displayed by nongraphical devices, especially
when *AUTO is specified by the Y (vertical) axis.
*PLOT: The graph is plotted on an attached plotter. This value is valid only if JOBD(*NONE) is
specified. The 6180, 6182, 7371, and 7372 plotters are supported.
*OUTFILE: The graph is saved to the Graphics Data Format (GDF) file specified on the OUTFILE
parameter. This option is not valid if a package is being displayed. You can use this file to display
the graph on any system that supports the graphical data display manager function or the
Business Graphics Utility licensed program. Graph packages cannot be sent to a GDF file.
PRTDEV
Specifies the name or type of printer on which the graph is printed. If a printer name (for example,
PRT01) is specified, the output is spooled to the output queue of the printer. If a printer type (for
example, 4214) is specified, the output is spooled to the output queue specified on the OUTQ
parameter. This parameter is valid only if OUTPUT(*PRINT) is specified.
4214: The 4214 printer is used.
4234: The 4234 printer is used.
522X: One of the 522X series printer is used. They are the 5224 and 5225 printers.
*IPDS: One of the Intelligent Printer Data Stream (IPDS) printers is used. The choices are the
3812 and 4224 printers.
*NONGRAPHIC: The output is spooled to the output queue in a nongraphics format for use with
printers that do not support graphics.
printer-name: Specify the system name of the printer to which the output is sent.
OUTQ Specifies the name and library of the output queue to which the printer file is to be sent.
*PRTDEV: The output queue associated with the printer is used. If a printer type has been
specified, the output is sent to the jobs output queue.
The name of the output queue can be qualified by one of the following library values:
v *LIBL: All libraries in the jobs library list are searched until the first match is found.
v library-name: Specify the name of the library to be searched.
output-queue-name: Specify the name of the output queue.
PAGELEN
Specifies the page length for graphs. This parameter is valid only if OUTPUT(*PRINT) is specified.
*PRTDEV: The page length for the printer or printer type specified on the PRTDEV parameter is
used.
51: Specifies 51 lines per page (8.5 inches).
66: Specifies 66 lines per page (11 inches).
PLTSPD
Specifies the speed at which the plotter creates the graph. A larger value represents a faster
plotting rate. The smaller the value the better the plotting quality of the graph. This parameter is
valid only when *PLOT is specified on the OUTPUT parameter.
100: A plotter speed of 100 is used.
Command Descriptions
59
plotter-speed: Specify the speed of the plotter. The plotter speed ranges from 1 through 100.
PLTPEN
Specifies the pen width in which to shade the performance graph. The smaller the value, the
closer together the lines are for shading. If the user chooses a small value, the graph takes longer
to plot. If the value is too large, the shading will have gaps in it. This parameter is valid only when
*PLOT is specified on the OUTPUT parameter.
3: A pen width of 0.3 millimeters is used.
pen-width: Specify the width of the pen. Pen widths (values 1 through 10) range from 0.1
millimeter through 1.0 millimeter.
PLTADR
Specifies the address of the plotter attached to the terminal on which the graph is created. This
parameter is valid only when the *PLOT is specified on the OUTPUT parameter.
1: The plotter with the address of 1 is used.
plotter-address: Specify the address of the plotter. Address values range from 1 through 31.
OUTFILE
Specifies the file in which the graph data format is saved. This parameter is valid only when
*OUTFILE is specified on the OUTPUT parameter.
The possible library values are:
v QPFRDATA: The graph is saved in the IBM-supplied performance data library, QPFRDATA.
v *LIBL: The library list is used to locate the file in which to save the graph.
v *CURLIB: The current library is used to locate the file in which to save the graph. If no library is
specified as the current library for the job, the QGPL library is used.
v library-name: Specify the name of the library where the graph is saved.
file-name: Specify the name of the file into which the graph is saved.
OUTMBR
Specifies the format member in which the graph is to be saved. This parameter is valid only if
OUTPUT(*OUTFILE) is specified.
Element 1: Member to Receive Output
*FIRST: The first member in the file receives the output. If OUTMBR(*FIRST) is specified and the
member does not exist, the system creates a member with the name of the file specified on the
OUTFILE parameter.
member-name: Specify the name of the file member that receives the output. If the
OUTMBR(member-name) is specified and the member does not exist, the system creates it. If the
member already exists, the user has the option to either add new records to the end of the
existing member or to clear the member and then add the new records.
Element 2: Operation to Perform on Member
*REPLACE: If a member exists, the system clears it and adds the new records.
*ADD: If a member exists, the system adds the new records to the end of the existing records.
TYPE Specifies whether the graph is a graph format or graph package.
*GPHFMT: The graph is a graph format.
*GPHPKG: The graph is a graph package.
XAXIS Specifies the range used on the X-axis.
*SAME: The range is the same as that defined in the graph format.
60
*AUTO: The system determines the range based on the data. This value must be specified if
*TIME is specified for the X-axis variable.
Element 1: Starting Number of Range
starting-number: Specify the start of the X-axis range. This value is valid only if an ending number
is also specified.
Element 2: Ending Number of Range
ending-number: Specify the end of the X-axis range. This value is valid only if a starting number is
also specified.
YAXIS Specifies the range used on the Y-axis.
*SAME: The range is the same as that defined in the graph format.
*AUTO: The system determines the range based on the data.
Element 1: Starting Number of Range
starting-number: Specify the start of the Y-axis range. This value is valid only if an ending number
is also specified.
Element 2: Ending Number of Range
ending-number: Specify the end of the Y-axis range. This value is valid only if a starting number is
also specified.
AREAFILL
Specifies whether the graph is displayed with surfaces and bars filled in with a shading pattern.
This parameter allows the user to display detailed graphs quickly. If the user specifies
AREAFILL(*NO) on this command after previously specifying AREAFILL(*YES) on the
CRTGPHFMT command, the graph is displayed more quickly. This is caused by the greater
amount of time it takes to fill in areas with shading patterns than to merely draw lines. Also, the
more dense the shading pattern, the more time it takes to create. These issues are important if
time is short and graphic quality is not momentarily important.
*SAME: The graph is shaded according to the graph format definition.
*YES: The graph is filled in with a shading pattern.
*NO: The graph is not filled in with a shading pattern.
PERIOD
Specifies the period of time for which to collect performance information for the performance
graph. The starting and ending times and dates consist of four elements:
PERIOD((start-time start-date)
(end-time end-date))
*N can be used in place of an element that precedes the value being specified in order to maintain
positioning. For example, PERIOD(*N(*N 091289)) specifies the ending date and the default
values for start-time, start-date, and end-time.
Element 1: Starting Time
One of the following pair of values is used to specify the starting time. Information collected before
the starting time and starting date is not included on the graph.
*FIRST: Records starting at the beginning of the start day (00:00:00) are included on the graph.
start-time: Specify the time of the start day after which records are included. The time is specified
in 24-hour format with or without a time separator as follows:
Command Descriptions
61
v With a time separator, specify a string of 5 or 8 digits, where the time separator for the job
separates the hours, minutes, and seconds. If you issue this command from the command line,
the string must be enclosed in apoltrophes. If a time separator other than the separator
specified for your job is used, this command fails.
v Without a time separator, specify a string of 4 or 6 digits (hhmm or hhmmss) where hh = hours,
mm = minutes, and ss = seconds. Valid values for hh range from 00 through 23. Valid values
for mm and ss range from 00 through 59.
Element 2: Starting Date
One of the following pair of values is used to specify the starting date. Information collected before
the starting time on the date specified on this parameter is not included on the graph.
*FIRST: Records starting on the first day of the collection period are included on the graph.
start-date: Specify the date on which information collection begins. The date must be entered in
the format specified by the system values QDATFMT and, if separators are used, QDATSEP. For
instance, the system might have a date format of mm/dd/yy. The month (mm), day (dd), and year
(yy) are all required 1-digit or 2-digit values. The slashes (/) are optional if all six digits are
specified. If the slashes are omitted, or if the value is entered from the prompt display, the
enclosing apostrophes are not required.
Element 3: Ending Time
One of the following pair of values is used to specify the ending time. Information collected after
the ending time and ending date is not included on the graph.
*LAST: Records through the end of the end day (23:59:59) are included on the graph.
end-time: Specify the time after which records are no longer collected. See the Element 1 in this
parameter for details on how the time must be specified.
Element 4: Ending Date
One of the following values is used to specify the ending date. Information collected after the
ending time and ending date is not included on the graph.
*LAST: Records through the last day of the collection period are included on the graph.
end-date: Specify the date after which records are no longer collected. See Element 2 in this
parameter for details on how the date must be specified.
SLTJOB
Specifies a list of up to 50 jobs to select. Only performance data for the specified jobs are included
on the graph.
The SLTJOB and OMTJOB parameters are mutually exclusive.
A job identifier is either the special value *ALL or a qualified name with up to three elements, for
example:
*ALL
job-name
user-name/job-name
job-number/user-name/job-name
*ALL: All jobs in the collected data are included, unless excluded by some other selection criteria.
62
job-name: Specify the name of jobs to select. Because jobs may have identical job names, this
value may not identify a specific job. This can be either a specific name or a generic name.
user-name: Specify the user name of jobs to select. Because jobs may have identical user names,
this value may not identify a specific job. This can be either a specific name or a generic name.
job-number: Specify the 6-digit number of a job to select. All six digits must be specified (use
leading zeros if necessary).
OMTJOB
Specifies a list of up to 50 jobs whose performance data is omitted from the graph.
The SLTJOB and OMTJOB parameters are mutually exclusive.
Similar to the SLTJOB parameter, a job identifier is either the special value *NONE or a qualified
name with up to three elements. *N can be used in place of an element to maintain the position in
the parameter value sequence.
*NONE: No job is excluded based on job identifier.
job-name: Specify the name of jobs to omit. Because jobs may have identical job names, this
value may not identify a specific job. This can be either a specific name or a generic name.
user-name: Specify the user name of jobs to omit. Because jobs may have identical user names,
this value may not identify a specific job. This can be either a specific name or a generic name.
job-number: Specify the 6-digit number of a job to omit. All six digits must be specified (use
leading zeros if necessary).
SLTUSER
Specifies a list of up to 50 user names to select. Only jobs with one of the specified user names
are included on the graph.
The SLTUSER and OMTUSER parameters are mutually exclusive.
*ALL: Jobs with all user names are included, unless excluded by other selection criteria.
user-name: Specify the user name of jobs to select. Because jobs may have identical user names,
this value may not identify a specific job.) This can be either a specific or generic name.
SLTUSER(user) is equivalent to SLTJOB(*N/user/*N).
OMTUSER
Specifies a list of up to 50 user names to omit. Jobs having the specified user names are
excluded from the graph.
The SLTUSER and OMTUSER parameters are mutually exclusive.
*NONE: No job is excluded based on user name.
user-name: Specify the user name of jobs to omit. Because jobs may have identical user names,
this value may not identify a specific job. This can be either a specific or generic name.
OMTUSER(user) is equivalent to OMTJOB(*N/user/*N).
SLTPOOLS
Specifies a list of up to 64 pools to select. Only jobs that run in one of the specified pools are
included in the report.
*ALL: Jobs running in all pools are included, unless excluded by other selection criteria.
storage-pool-identifier: Specify the number of a pool to select. Valid values range from 1 through
64.
OMTPOOLS
Specifies a list of up to 64 pools to omit. Jobs running in the specified pools are excluded from the
graph.
Command Descriptions
63
64
SLTFCNARA
Specifies a list of functional areas to select. Only jobs and users identified in one of the functional
areas are included in the report.
A functional area is a list of job names and user names previously defined by the user. You can
find information on defining functional areas in the Performance Tools for iSeries
book.
*ALL: All jobs are included, unless excluded by other selection criteria.
functional-area-name: Specify the name of a functional area to select.
OMTFCNARA
Specifies a list of functional areas to omit. Jobs and users identified in any of the functional areas
are excluded from the report.
A functional area is a list of job names and user names previously defined by the user. You can
find information on defining functional areas in the Performance Tools for iSeries
book.
Specifies the job name used if the job is submitted for batch processing.
Note: If *NONE is specified on the JOBD parameter, this parameter is ignored; job processing is
performed interactively.
DSPPFRGPH: The command name is used for the job name.
*MBR: The name selected for the performance data member on the MBR parameter is used.
job-name: Specify the name used for batch jobs.
JOBD Specifies the job description used to submit jbos for batch processing.
*NONE: A batch job is not submitted; instead, processing continues interactively while the user
waits. The users work station is not available for other use during this time, which could be
significant for long jobs. This must be the job description if the output is to a screen or to a plotter.
It is recommended that the user submit the job to batch if it is for printing or saving to a GDF file.
The name of the job description can be qualified by one of the following library values:
v *LIBL: All libraries in the jobs library list are searched until the first match is found.
v *CURLIB: The current library for the job is searched. If no library is specified as the current
library for the job, the QGPL library is used.
v library-name: Specify the name of the library to be searched.
QPFRJOBD: The IBM-supplied Performance Tools job description is used.
This command displays the performance data files in library QPFRDATA member JUN1. It is displayed as
specified by graph format CPU in library GRAPHLIB. The report title is taken from the text of the member.
Example 2: Saving a Graph
Command Descriptions
65
DSPPFRGPH GRAPH(GRAPHLIB/CPU)
MBR(JUN1) OUTPUT(*OUTFILE)
OUTFILE(USERLIB/USERFILE) OUTMBR(TEST)
JOBD(*LIBL/QPFRJOBD)
This command submits a job to save the graph of performance data from file member JUN1, which is in
library QPFRDATA, in a GDF file. The graph is saved in file USERLIB/USERFILE/TEST (file member
TEST in file USRFILE, which is in library USRLIB).
Example 3: Printing a Graph
DSPPFRGPH GRAPH(GRAPHLIB/CPU)
MBR(JUN1) OUTPUT(*PRINT)
PRTDEV(PRT03) JOBD(*LIBL/QPFRJOBD)
This command submits a job to print the graph of performance data from file member JUN1, which is in
library QPFRDATA, on the system printer named PRT03.
Example 4: Printing All Graphs
DSPPFRGPH GRAPH(GRAPHLIB/PACKAGE1)
MBR(JUN1) OUTPUT(*PRINT)
PRTDEV(PRT03) JOBD(*LIBL/QPFRJOBD)
TYPE(*GPHPKG)
This command submits a job to print all of the graphs defined in PACKAGE1 in GRAPHLIB. The print job
is sent to system printer PRT03. Its data source is in performance data member JUN1 in library
QPFRDATA.
Example 5: Displaying a Graph
DSPPFRGPH GRAPH(GRAPHLIB/CPU)
MBR(JUN1) OUTPUT(*)
PERIOD((2330)(0130))
This command displays a graph of the data collected from 11:30 PM on the first day of collection through
1:30 AM on the last day of collection. However, if data collection started and ended on the same day, an
error message is printed, because the specified ending date and time precedes the specified starting date
and time.
Example 6: Displaying a Graph
DSPPFRGPH GRAPH(GRAPHLIB/CPU)
MBR(JUN1) OUTPUT(*)
PERIOD((2330)(0130)) SLTUSER(D46*)
This command displays a graph of the performance data collected for all the jobs whose user ID starts
with D46 from 11:30 PM on the first day of collection through 1:30 AM on the last day of collection.
However, if data collection started and ended on the same day, an error message is printed, because the
specified ending date and time precedes the specified starting date and time.
Error messages for DSPPFRGPH
*ESCAPE Messages
PFR5501
Performance data file(s) are not upward compatible.
PFR5502
Cannot process request because of missing data.
PFR9031
Cannot use member &3 in performance graph.
66
PFR9046
Jobs defined in more than one functional area.
PFR9049
Graph format &1 in library &3 does not exist.
PFR9068
Value for OUTFILE parameter must be specified.
PFR9069
*NONE value must be specified for JOBD parameter.
PFR9071
X-axis variable for both graphs must be the same.
PFR9075
Plotter not found.
PFR9076
Plotter type not supported.
PFR9077
Graph format has too many legend entries for overlay.
PFR9078
Cannot display graph because of missing data.
PFR9079
Cannot write graph to output file.
PFR9080
Specify *AUTO for range with *TIME for X-axis.
PFR9082
Printer &1 not found.
PFR9083
Graph format selected for historical graph not valid.
PFR9096
Historical Data File QAPGHSTD not found in Library &1.
PFR9097
Cannot copy graph format &1 onto itself.
PFR9098
Cannot copy graph package &1 onto itself.
PFR9099
Cannot copy functional area &1 onto itself.
PFR9101
Graph has too many data points to display.
PFR9107
Graph format &1 is not valid.
PFR9113
Cannot display graph because of missing data.
67
The Display Physical File Member (DSPPFM) command displays a physical database file member.
Records are shown in arrival sequence, even if the file has a keyed access path. Users can page through
the file, locate a particular record by record number, or specify a starting position in the record. They can
also select a character or hexadecimal display of the records.
Required Parameter
FILE
Specifies the name of the physical file that contains the member being shown. If no library qualifier
is specified, the library list is used to locate the file.
The name of the physical file member can be qualified by one of the following library values:
*LIBL: All libraries in the jobs library list are searched until the first match is found.
*CURLIB: The current library for the job is searched. If no library is specified as the
current library for the job, the QGPL library is used.
Optional Parameters
MBR
FROMRCD
Specifies which record in a physical file is shown on the top line of the initial display. If the
specified record number is a deleted record, the display is positioned on the first record that
follows the record that has been deleted. The user can display as many records as needed using
the page-up and page-down keys.
1: Record number one, or the first non-deleted record, of the physical file is shown. If the file is a
distributed file, this will be the first non-deleted record of the local member, and only local data will
be shown.
*END: The last non-deleted record in the physical file is shown. The *END value shows the last
complete page so that the last record in the physical file appears at the bottom of the screen. If
the file is a distributed file, this will be the last non-deleted record of the local member, and only
local data will be shown.
*ALLDATA: All the data for a distributed file, including remote data, is shown. If *ALLDATA is
specified for a non-distributed file, it will be treated the same as FROMRCD(1).
record-number: Specify the number of the record shown on the top line of the initial display. If the
file is a distributed file, this will be the record number of the local member, and only local data will
be shown.
Examples for DSPPFM
Example 1: Displaying the First File Member
DSPPFM
68
FILE(TESTA)
This command shows the first member of a physical file named TESTA. The library list is used to locate
the file.
Example 2: Displaying a File Member
DSPPFM
FILE(SAMPLE/TESTB) MBR(PROGRAM)
This command shows member PROGRAM of physical file TESTB in library SAMPLE.
Error messages for DSPPFM
*ESCAPE Messages
CPF8056
File &1 in &2 not a physical file.
CPF9810
Library &1 not found.
CPF9812
File &1 in library &2 not found.
CPF9820
Not authorized to use library &1.
CPF9822
Not authorized to file &1 in library &2.
CPF9845
Error occurred while opening file &1.
CPF9846
Error while processing file &1 in library &2.
CPF9847
Error occurred while closing file &1 in library &2.
Command Descriptions
69
date: Specify the first date to be displayed. The date must be specified in the format specified on
the job attributes. Specify the current date or a date in the future.
DAYS Specifies the number of days for which the power on/off schedule is to be printed.
40: Forty days of the report are printed.
number-of-days: Specify the number of days. Valid values range from 1 through 366.
Examples for DSPPWRSCD
Example 1: Displaying Power On/Off Schedule
DSPPWRSCD
OUTPUT(*PRINT)
DAYS(30)
This command prints 30 days of the power on/off schedule, starting with the current date.
Error messages for DSPPWRSCD
*ESCAPE Messages
CPF1E2B
Power scheduler and cleanup options not found.
CPF1E23
Power schedule or cleanup options in use by another user.
CPF1E27
Not authorized to change power on/off schedule.
CPF1E28
Cannot print schedule at specified STRDATE.
CPF1E99
Unexpected error occurred.
70
OUTPUT
Specifies whether the output from the command is shown at the requesting workstation or printed
with the jobs spooled output. More information on this parameter is in commonly used
parameters.
*: Output requested by an interactive job is shown on the display. Output requested by a batch job
is printed with the jobs spooled output.
*PRINT: The output is printed with the jobs spooled output.
Example for DSPPDGPRF
DSPPDGPRF
USER(TPDEXTER)
This command displays the print descriptor and the print descriptor group for user profile TPDEXTER.
Error messages for DSPPDGPRF
*ESCAPE Messages
CPF2204
User profile &1 not found.
CPF2217
Not authorized to user profile &1.
CPF9820
Not authorized to use library &1.
CPF9871
Error occurred while processing.
*LIBL: All libraries in the jobs library list are searched until the first match is found.
*CURLIB: The current library for the job is searched. If no library is specified as the
current library for the job, the QGPL library is used.
Command Descriptions
71
Optional Parameter
OUTPUT
Specifies whether the output from the command is displayed at the requesting work station or
printed with the jobs spooled output.
*: The output is displayed (if requested by an interactive job) or printed with the jobs spooled
output (if requested by a batch job).
*PRINT: The output is printed with the jobs spooled output.
Example for DSPPSFCFG
DSPPSFCFG
PSFCFG(PSFCFG1)
OUTPUT(*PRINT)
This command will print a description of PSF configuration (*PSFCFG) object named PSFCFG1. The jobs
library list will be used to search for the PSFCFG1.
Error messages for DSPPSFCFG
*ESCAPE Messages
CPF9801
Object &2 in library &3 not found.
CPF9802
Not authorized to object &2 in &3.
CPF9803
Cannot allocate object &2 in library &3.
CPF9810
Library &1 not found.
CPF9820
Not authorized to use library &1.
72
STATUS
Specifies the status of the problem log entries. The seven status types are as follows:
*OPENED
The problem is in OPENED status. The problem has been identified and a problem record
has been created.
*READY
The problem is in READY status. Problem analysis information has been added to the
problem record.
*PREPARED
The problem is in PREPARED status. The problem has been prepared for reporting.
*SENT
The problem is in SENT status. The problem has been sent to a service provider, but no
answer has been returned.
*ANSWERED
The problem is in ANSWERED status. An answer was returned by the service provider or
added by an operator on this system.
*VERIFIED
The problem is in VERIFIED status. The problem has been resolved and the system
operator has verified that the problem has been corrected.
*CLOSED
The problem is closed.
*ALL: Problem log entries with any status are shown.
status-type: Specify up to six status types that identify the problem log entries being displayed.
SEV
Specifies the severity level of the problem log entries being shown on the display. The severity
level is assigned by the user when the problem is prepared for reporting. The four severity levels
are:
1
High
Medium
Low
None
*ALL: Problem log entries with any severity level are shown.
severity-level: Specify at least one or as many as three of the four severity levels.
PERIOD
Specifies the period of time for which the data log is printed. The following values can be coded in
this parameter, which contains two sets of two values each (four list elements).
Element 1: Starting Time
*AVAIL: The error data that is available for the specified starting or ending date is printed.
start-time: Specify the starting time of the specified starting date for which the error data is printed.
The time is specified in 24-hour format with or without a time separator as follows:
v With a time separator, specify a string of 5 or 8 digits, where the time separator for the job
separates the hours, minutes, and seconds. If you issue this command from the command line,
Command Descriptions
73
the string must be enclosed in apostrophes. If a time separator other than the separator
specified for your job is used, this command fails.
v Without a time separator, specify a string of 4 or 6 digits (hhmm or hhmmss) where hh = hours,
mm = minutes, and ss = seconds. Valid values for hh range from 00 through 23. Valid values
for mm and ss range from 00 through 59.
Element 2: Starting Date
*BEGIN: The logged data from the beginning of the log is displayed.
Note:
*CURRENT: The logged data for the current day, and the time that has elapsed between the
specified starting time and ending time for the day, is displayed.
start-date: Specify the date for which the first logged data is displayed. The date must be entered
in the format specified by the system values QDATFMT and, if separators are used, QDATSEP.
Element 3: Ending Time
*AVAIL: The logged data that is available for the specified ending date is displayed.
end-time: Specify the time that the data logging ends. See the description of start-time for details
about how time can be specified.
Element 4: Ending Date
*END: The last day on which data was logged is shown. If PERIOD(*END) is specified, a time
value other than *AVAIL for end-time is ignored.
*CURRENT: The logged data for the current day, and the time that has elapsed between the
specified starting time and ending time for the day, is displayed.
end-date: Specify the date that the data logging ends. The date must be entered in the format
specified by the system values QDATFMT and, if separators are used, QDATSEP.
HARDWARE
Specifies the name of the problem log entries identifying the failing device.
Note:
74
75
PGM
Specifies that only problem log entries identifying the failing program are shown. For
machine-detected problems, the failing program is identified by the possible cause with the highest
probability of failure.
*ALL: Entries are shown regardless of which program, if any, is identified.
generic*-program-name: Specify the generic name of the program.
program-name: Specify the name of the program.
MSGID
Specifies the message or range of messages for which the problem log entries are shown. This is
the problem message identifier shown in the problem details display. For user-detected problems,
the message identifier is entered by the user.
*ALL: Entries are shown regardless of which problem message identifier is associated with a
problem.
generic*-message-identifier: Specify the generic name of the message identifier.
message-identifier: Specify the problem message identifier.
ORIGIN
Specifies the nodes for which the problem log entries are shown.
Element 1: Network Identifier
*ALL: Entries are shown regardless of the network identifier of the origin system of each entry.
*NETATR: Only entries that originated on systems with the same local network identifier as the
one defined in the network attributes for this system are shown.
network-identifier: Specify a network identifier. Only entries originating on systems with this local
network identifier are shown.
Element 2: Control Point Name
*ALL: All entries originating on systems using the network identifier are shown.
*NETATR: Only entries originating on systems with the same control point name as the one
defined in the network attributes are shown.
control-point-name: Specify the name of the control point. Only entries originating on systems with
this control point name are shown.
SRVID
Specifies that only problem log entries using the IBM service-assigned number are shown. This
number is assigned when the problem is reported to IBM service support.
*ALL: Entries are shown regardless of which service number, if any, is assigned to the problem.
service-identifier-number: Specify the service identifier number.
ASNUSER
Specifies which problem log entries are displayed.
*ALL: All problem log entries are shown, regardless of the user name assigned to them.
user-name: Specify the user name assigned to the problem log entries to be displayed.
GROUP
Specifies the group in the filter to which the problem is assigned.
*ALL: All problem log entries are shown, regardless of the group assigned to them.
group-name: Specify the 10-character problem filter group assigned to the entry.
Note:
76
PRBTYPE
Specifies which type of problems to display.
*ALL: All problem log entries are shown, regardless of the problem type.
1: Only machine-detected problems are shown.
2: Only user-detected problems are shown.
3: Only PTF order problems are shown.
4: Only application-detected problems are shown.
5: Only PC machine-detected problems are shown.
6: Only PC user-detected problems are shown.
PRBCGY
Specifies which category of problems to display.
*ALL: All problems are shown.
*REPORT: Problems that are logged and reported to the service provider are shown.
*CRITICAL: Problems that are critical are shown.
*LOGONLY: Problems that are logged, but not reported to the service provider, are shown.
OUTPUT
Specifies whether the output from the command is shown at the requesting work station, printed
with the jobs spooled output, or directed to a database file.
More information on this parameter is in commonly used parameters.
*: Output requested by an interactive job is shown on the display. Output requested by a batch job
is printed with the jobs spooled output.
*PRINT: The output is printed with the jobs spooled output.
*OUTFILE: The output is directed to the database file specified on the OUTFILE parameter.
OUTFILE
Specifies the qualified name of the database file that receives the output of the command. If the
file does not exist, this command creates a database file in the specified library. If a file is created,
the text reads Outfile for DSPPRB, and the authority for users other than those who have
specific authority, group authority, or authority from an authorization list is *EXCLUDE. Refer to the
tables at the end of the TYPE parameter description for the format used.
Note:
The name of the database file can be qualified by one of the following library values:
*LIBL: All libraries in the jobs library list are searched until the first match is found.
*CURLIB: The current library for the job is searched. If no library is specified as the
current library for the job, the QGPL library is used.
Command Descriptions
77
database-file-name: Specify the name of the database file to which the output of the command is
written.
OUTMBR
Specifies the name of the database file member to which the output is directed.
Element 1: Member to Receive Output
*FIRST: The first member in the file receives the output. If OUTMBR(*FIRST) is specified and the
member does not exist, the system creates a member with the name of the file specified on the
OUTFILE parameter. If the member exists, records may be either added to the end of the member
or replace existing records.
member-name: Specify the file member that receives the output. If OUTMBR(member-name) is
specified and the member does not exist, the system creates it.
Element 2: Operation to Perform on Member
*REPLACE: The system clears the existing member and adds the new records.
*ADD: The system adds the new records to the end of the existing records.
TYPE Specifies the type of problem information that is placed in the output file. Only one type of data
can be placed in each file. More information on each value of this parameter, including a table on
the output record format for the value, is located at the end of this parameter description.
Note:
*BASIC: Basic problem data includes problem type and status; device type, model, and serial
number; product ID, contact information; and tracking data.
*CAUSE: Possible problem causes include point-of-failure, partial, isolation, or answer cause
records. Answer causes are used if they are available. If they are not, isolation causes are used. If
isolation causes are not available, partial causes are used. If partial causes are not available, then
the point-of-failure causes are used.
*FIX: Fixes to the problem are program temporary fix (PTF) records.
*USRTXT: User-supplied text, consisting of note records, is placed in the output file.
*SPTDTA: Output files with supporting data identifiers are created.
Basic Problem Data (*BASIC)
The output file produced for type *BASIC has one record for each problem in the problem log.
Each record has a unique problem identifier.
The record format is QASXPBOF. See the following DSPPRB Fields for Basic Problem Data
(TYPE(*BASIC)) table for the fields in the record.
Table 1. DSPPRB Fields for Basic Problem Data (TYPE(*BASIC))
Field Name
PBRCEN
Length
1
Description
Century that the data was retrieved and placed in the output file:
0
PBRDAT
PBRTIM
78
6
6
20th century
1
21st century
Date that the data was retrieved and placed in the output file.
Time that the data was retrieved and placed in the output file.
Field Name
PBSYSN
PBFORM
PBID
PBORG
PBORGI
Length
8
8
10
20
1
Description
Name of the system in which the DSPPRB command is run to create this output file.
Record format, which is always *BASIC.
Problem identifier.
System origin.
Problem origin indication:
L
PBSEV
PBTYPE
PBSTAT
PBDESC
PBPMSG
PBRFCD
PBSLID
PBMACH
PBMODL
PBFEAT
PBMSER
PBEC
4
8
4
3
4
10
12
PBLPP
PBVER
PBREL
PBMDF
4
2
2
PBCNT
36
PBTEL1
30
PBTEL2
30
Local
R
Remote
Problem severity levels:
1
High
Medium
Low
4
None
Problem type (which identifies how the problem was detected):
1
Machine-detected
User-perceived
3
PTF order
Problem status:
O
Opened
Ready
Prepared
Sent
Answered
Verified
C
Closed
Message identifier of a message in the QCPFMSG message file that describes the
problem.
Message identifier of a message in the QCPFMSG message file that describes the
reference code.
Original reference code.
Identifies the entry recorded in the error log when the system detected a problem.
Identifies the type of device with which this problem is associated.
Identifies the model of the device with which this problem is associated.
Identifies the feature number of the device with which this problem is associated.
Identifies the serial number of the device with which this problem is associated.
Identifies the engineering change (EC) level of the device with which this problem is
associated.
Shows the identification number of the program with the problem. This number could
be for a licensed program or for licensed internal code.
Identifies the version of the program with the problem.
Identifies the release level of the program with the problem.
Identifies the modification level that applies to the release level of the licensed
program with the problem.
The name of the person whom service personnel should contact to help resolve this
problem.
Primary telephone number. The number service support personnel should use to
contact the users company.
Alternate telephone number. The number service support personnel should use to
contact the users company if the primary telephone number is not available.
Command Descriptions
79
Field Name
PBFTEL1
Length
30
PBFTEL2
30
PBENTR
PBSTR1
PBSTR2
PBSTR3
PBCITY
PBCOUN
PBZIP
PBSNUM
PBEPDP
PBPDPE
PBISOS
36
36
36
36
36
20
12
10
8
2
1
PBDATO
PBTIMO
PBUSRO
PBDATA
PBTIMA
PBUSRA
PBDATP
PBTIMP
PBUSRP
PBDATS
PBTIMS
PBUSRS
PBDATN
PBTIMN
PBUSRN
PBDATF
PBTIMF
PBUSRF
PBDATC
PBTIMC
PBUSRC
PBSYMP
PBUSRD
PBFTRN
PBFTRL
PBFTRG
PBALIB
80
6
6
10
6
6
10
6
6
10
6
6
10
6
6
10
6
6
10
6
6
10
256
10
10
10
10
10
Description
Primary fax telephone number. The number service support personnel should use to
contact the users company.
Alternate fax telephone number. The number service support personnel should use to
contact the users company if the primary telephone number is not available.
Company name.
First line of street address.
Second line of street address.
Third line of street address.
City and state.
Country or region.
ZIP code.
Service assigned number.
Identifies the program used to run problem analysis.
Identifies the code the system returned after problem analysis is run.
Identifies the result of running problem analysis:
1
5
Problem analysis was partially completed.
Date the problem was opened.
Time the problem was opened.
User who opened the problem.
Date the problem was analyzed.
Time the problem was analyzed.
User who analyzed the problem.
Date the problem was prepared.
Time the problem was prepared.
User who prepared the problem.
Date the service request was sent.
Time the service request was sent.
User who sent the service request.
Date the service request was answered.
Time the service request was answered.
User who answered the problem.
Date fix was verified.
Time fix was verified.
User who verified the fix.
Date the problem was closed.
Time the problem was closed.
User who closed the problem.
Symptom string.
User assigned to the problem.
Filter assigned to the problem.
Filter library.
Group in filter assigned to the problem.
Library containing APAR data saved for the problem.
Field Name
Note:
Length
Description
Year
MM
Month
DD
Day
Hour
MM
Minutes
SS
Seconds
Length
1
Description
Century that the data was retrieved and placed in the output file:
0
CARDAT
CARTIM
CASYSN
CAFORM
CAID
CAORG
6
6
8
8
10
20
20th century
1
21st century
Date that the data was retrieved and placed in the output file.
Time that the data was retrieved and placed in the output file.
Name of the system where the DSPPRB command was run to create this output file.
Format, which is always *CAUSE.
Problem identifier.
System origin.
Command Descriptions
81
Field Name
CALIST
Length
1
Description
Cause list type:
P
The possible cause list was identified when the failure occurred.
The possible cause list was identified by problem analysis which was not
completed.
CACODE
CANAME
CADOC
4
7
7
CADEVL
CAPRT1
40
12
CAPRT2
CAPRT3
CAPRT4
CAPRT5
CAPRT6
CATYPE
12
12
12
12
12
1
Type (Instances)
CACHNC
CADEVN
CAMACH
CAMODL
CAFEAT
CAMSER
CARSER
CAADDR
CALPP
3,0
10
4
3
4
10
10
9
7
CAVER
CAREL
CAMDF
4
2
2
CAMOD
CAVOL
CARSRC
CAPORT
CAPLOC
10
8
10
2
25
82
Software (OS/400)
U
User (door open or diskette upside down)
The possibility that this part or action will correct the problem (1-100%).
Name of the device where the part is installed.
Type of device.
Model number of device.
Feature number of device.
Serial number of the device.
Serial number of the rack where the device is installed.
Address (1234-5678)
Identifies a licensed program or licensed internal code. Only present for cause type
C.
Version of the licensed program. Only present for cause type C.
Release level of the licensed program. Only present for cause type C.
Modification level that applies to the release of the licensed program. Only present for
cause type C.
Module in the licensed program. Only present for cause type C.
Removable media volume identifier. Only present for cause type M.
Resource name assigned to the device by the system.
Port where the work station cable connects to the work station attachment.
Location of the part in the device.
Field Name
CAPCOD
Length
4
CASENS
64
CAEADDR
13
Description
Symptom code, also called the Fault Symptom Code (FSC). It is generated by the
sense bits collected in the hardware device at the time of failure. Only present for
cause type E.
Sense data bytes are made up of the bits that are collected in the hardware device to
show the status of the device. Only present for cause type E.
Address of device where part is installed.
1-4
6-13
Identifies the failing device or resource.
Note: All fields are of type C (character), except the CACHNC field, which is of type P (packed decimal).
Length
1
Description
Century that the data was retrieved and placed in the output file:
0
FXRDAT
FXRTIM
FXSYSN
FXFORM
FXID
FXORG
FXPTF
FXPST
6
6
8
8
10
20
7
1
20th century
1
21st century
Date that the data was retrieved and placed in the output file.
Time that the data was retrieved and placed in the output file.
Name of the system where the DSPPRB command was run to create this output file.
Format, which is always *FIX.
Problem identifier.
System origin.
Program temporary fix (PTF) number.
Program temporary fix (PTF) status:
N
Not requested.
R
Requested.
PTF save file status: Y = yes; N = no; R = yes (released)
PTF product ID or special value *ONLY. *ONLY represents PTFID(*ONLYPRD)
specified on the SNDPTFORD command.
FXRLS
6
PTF release level (VxRxMx) or special value *ONLY. *ONLY represents
PTFID(*ONLYRLS) specified on the SNDPTFORD command.
Note: All fields are of type C (character).
FXSFS
FXPRD
1
7
Command Descriptions
83
Length
1
Description
Century that the data was retrieved and placed in the output file:
0
TXRDAT
TXRTIM
TXSYSN
TXFORM
TXID
TXORG
TXTYPE
6
6
8
8
10
20
1
20th century
1
21st century
Date that the data was retrieved and placed in the output file.
Time that the data was retrieved and placed in the output file.
Name of the system where the DSPPRB command was run to create this output file.
Format, which is always *USRTXT.
Problem identifier.
System origin.
Type of text:
N
Note
S
Problem description
TXTEXT
80
User-entered text.
Note: All fields are of type C (character).
Length
1
Description
Century that the data was retrieved and placed in the output file:
0
20th century
SDRDAT
SDRTIM
SDSYSN
SDFORM
SDID
SDORG
SDTYPE
6
6
8
8
10
20
1
1
21st century
Date that the data was retrieved and placed in the output file.
Time that the data was retrieved and placed in the output file.
Name of the system where the DSPPRB command was run to create this output file.
Format, which is always *SPTDTA.
Problem identifier.
System origin.
Type of identifier:
SDNAM1
10
S
Spooled file identifier
Identifier name 1:
SDNAM2
10
SDNAM3
10
84
PERIOD((*AVAIL
*CURRENT)
(*AVAIL
*CURRENT))
This command shows all problem log entries that were created today.
Example 2: Creating an Output File
DSPPRB
OUTPUT(*OUTFILE)
OUTFILE(*CURLIB/NEWFILE)
This command creates a member in the physical file NEWFILE in the current library which contains a
record for each problem log entry in the problem log.
Example 3: Displaying a List of Hardware Problems
DSPPRB
SEV(1 2)
This command shows a list containing problems with the hardware specified by the user. The user has
specified that the command track medium-to-high levels of severity.
Example 4: Displaying a List of Problems That Have Been Opened
DSPPRB STATUS(*OPENED) PERIOD((*AVAIL *CURRENT)
(120000 *CURRENT)) LICPGM(5716SS1 03 00)
PGM(QNOPGM)
This command shows a list containing problems that have been opened during the period starting at
midnight and ending at noon on the current day, and have not yet been analyzed. This command also
identifies the specified licensed program identifier and program name as the probable cause of the failure.
Example 5: Displaying a List of Machine-Detected Problems
DSPPRB
RESOURCE(TAP01)
MSGID(CPF6788)
This command shows a list containing machine-detected problems that were opened due to the message,
CPF6788, having been sent to the system operator message queue. The list of problems includes
user-detected problems. To get the user-detected problems, the user specified the resource name and
message identifier by using the Analyze Problem (ANZPRB) command.
Example 6: Displaying a List of Reported Problems
DSPPRB
SRVID(12345)
This command shows a list containing problems that have been reported to an IBM service support center
and have 12345 as the service identifier.
Error messages for DSPPRB
*ESCAPE Messages
CPF7A9C
Cannot work with the problem log at this time.
CPF9845
Error occurred while opening file &1.
CPF9847
Error occurred while closing file &1 in library &2.
Command Descriptions
85
Specifies the qualified name of the program for which information is displayed.
The name of the program can be qualified by one of the following library values:
*LIBL: All libraries in the jobs library list are searched until the first match is found.
*CURLIB: The current library for the job is searched. If no library is specified as the
current library for the job, the QGPL library is used.
Optional Parameters
OUTPUT
Specifies whether the output from the command is shown at the requesting workstation or printed
with the jobs spooled output. More information on this parameter is in commonly used
parameters.
*: Output requested by an interactive job is shown on the display. Output requested by a batch job
is printed with the jobs spooled output.
*PRINT: The output is printed with the jobs spooled output.
DETAIL
Specifies the type of information displayed for the service program. More than one value can be
specified, but a list of values must not include *ALL. *ALL must be specified as a single value.
Note:
*ALL: All of the DETAIL information types (*BASIC, *SIZE, *MODULE, *SRVPGM, *ACTGRPEXP,
*ACTGRPIMP, and *COPYRIGHT) would be shown on the display. If the user has chosen the
86
information to be displayed on the screen, the user would be able to scroll through the information
for each DETAIL, but would have to press enter (or PF12) to go from DETAIL to DETAIL.
*BASIC: General program information is shown.
*SIZE: The size and size limits for this program are shown.
*MODULE: A list is shown of the module objects bound by this program. The library shown for
each module is the library that the module was in when the program was first created. If the
module has been replaced by a module from a different library, this library name remains the
name of the library that the module was in when the program was created. To determine the
source that the module was created from, use option 5=Display description to see the source file,
library, and member names.
*SRVPGM: A list is shown of the service programs bound by this program.
*ACTGRPEXP: A list is shown of the data items exported to the activation group specified in the
data export entry in the binding specifications.
*ACTGRPIMP: A list is shown of the imports that are resolved by weak exports that had been
exported to the activation group directory.
*COPYRIGHT: A list is shown of the copyrights for this service program.
Note:
PGM(LIB01/PAYROLL)
This command displays information about the program named PAYROLL in library LIB01. The display is
shown at the display station if requested by an interactive job, or printed if requested by a batch job.
Example 2: Printing Program Information
DSPPGM
PGM(CUSINQ)
OUTPUT(*PRINT)
This command displays information about a program named CUSINQ. The library list is used to find the
program, and the information is printed.
Error messages for DSPPGM
*ESCAPE Messages
CPF2150
Object information function failed.
CPF2151
Operation failed for &2 in &1 type *&3.
CPF8122
&8 damage on library &4.
Command Descriptions
87
CPF8123
Damage on object information for library &4.
CPF8129
Program &4 in &9 damaged.
CPF9803
Cannot allocate object &2 in library &3.
CPF9806
Cannot perform function for object &2 in library &3.
CPF9807
One or more libraries in library list deleted.
CPF9808
Cannot allocate one or more libraries on library list.
CPF9810
Library &1 not found.
CPF9811
Program &1 in library &2 not found.
CPF9820
Not authorized to use library &1.
CPF9821
Not authorized to program &1 in library &2.
CPF9830
Cannot assign library &1.
CPF9871
Error occurred while processing.
No information is provided for programs in C except for ILE C (program type CLE)
CBLLE
*FILE, *PGM, and *SRVPGM
CL
CLE
*SRVPGM
88
PASCAL
No information is provided for programs in Pascal
PL/I
RPG
RPGLE
*FILE, *PGM, *DTAARA, and *SRVPGM
This information can be shown, printed, or written to (stored in) a database output file (an OUTFILE).
If the information is shown or printed, a list (by library) of the specified user-authorized programs, along
with the objects referenced by each program, is created. For files, information about how each file is used
(input, output, update, unspecified, or any combination of these four) is also shown or printed.
If the information is written to a database file, the database file will have a record format named
QWHDRPPR. The fields in record format QWHDRPPR are the same as the fields in the IBM-supplied
format QWHDRPPR in file QADSPPGM in the library QSYS. The following information is contained in the
database file:
v
v
v
v
v
The
The
The
The
The
Restrictions:
1. The user must have object operational authority for the program.
2. Also, of the libraries specified by the library qualifier, only the libraries for which the user has read
authority are searched for the programs.
Command Descriptions
89
Required Parameter
PGM
Specifies the qualified name of the program (or all programs) that has a list of the files and other
related system objects that are referenced by the program. A specific program name or a generic
program name is specified; either type can be optionally qualified by a library name. Only the
libraries in the specified library qualifier that the user either owns or is authorized to use are
searched for the program(s).
The name of the program can be qualified by one of the following library values:
*LIBL: All libraries in the jobs library list are searched until the first match is found.
*CURLIB: The current library for the job is searched. If no library is specified as the
current library for the job, the QGPL library is used.
*USRLIBL: Only the libraries in the user portion of the jobs library list are searched.
*ALLUSR: User libraries are all libraries with names that do not begin with the letter Q
except for the following:
#CGULIB
#COBLIB
#DFULIB
#DSULIB
#RPGLIB
#SDALIB
#SEULIB
Although the following libraries with names that begin with the letter Q are provided by
IBM, they typically contain user data that changes frequently. Therefore, these libraries are
also considered user libraries:
QDSNX
QRCLxxxxx
QSYS2xxxxx
QS36F
QUSER38
QUSRADSM
QUSRBRM
QUSRDIRCL
QUSRDIRDB
QUSRIJS
QUSRINFSKR
QSYS2
QUSRNOTES
QGPL
QGPL38
QMPGDATA
QMQMDATA
QMQMPROC
QPFRDATA
QRCL
QUSROND
QUSRPOSGS
QUSRPOSSA
QUSRPYMSVR
QUSRRDARS
QUSRSYS
QUSRVI
QUSRVxRxMx
Notes:
xxxxx is the number of a primary auxiliary storage pool.
1.
2. A different library name, of the form QUSRVxRxMx, can be created by the user for
each release that IBM supports. VxRxMx is the version, release, and modification level
of the library.
90
*ALL: All programs in the specified library (or all the libraries identified in the library qualifier to
which the user has access) have their information shown.
generic*-program-name: Specify the name of the program or the generic name of several
programs in the specified library (or all libraries identified in the library qualifier) that has
information shown. A generic name is a character string of one or more characters followed by an
asterisk (*); for example, ABC*. The asterisk substitutes for any valid characters. A generic name
specifies all objects with names that begin with the generic prefix for which the user has authority.
If an asterisk is not included with the generic (prefix) name, the system assumes it to be the
complete object name. For more information on the use of generic names, refer to generic names.
program-name: Specify the name of the program to have information shown.
Optional Parameters
OUTPUT
Specifies whether the output from this command is displayed, printed, or directed to a database
file. More information on this parameter is in commonly used parameters.
*: Output requested by an interactive job is shown on the display. Output requested by a batch job
is printed with the jobs spooled output.
*PRINT: The output is printed with the jobs spooled output.
*OUTFILE: The output is directed to the database file specified on the OUTFILE parameter.
OBJTYPE
Specifies the object type for which information is displayed.
*PGM: Only program information is displayed.
*ALL: Program information and SQL package information are displayed.
*SQLPKG: Only SQL package information is displayed.
*SRVPGM: Service program information is displayed.
*MODULE: Module information is displayed.
OUTFILE
Specifies the qualified name of the database output file in which the program-related information is
written.
When creating the database output file, the current date, time, and system name must be
included. The system name is the name of the source system, not the target system. If the
specified file does not exist, the system creates a database output file and member. If the file is
created, the description text is Outfile for DSPPGMREF and the public authority is *EXCLUDE.
Note:
The name of the database file can be qualified by one of the following library values:
*LIBL: All libraries in the jobs library list are searched until the first match is found.
Command Descriptions
91
*CURLIB: The current library for the job is searched. If no library is specified as the
current library for the job, the QGPL library is used.
OUTPUT(*OUTFILE)
This command creates a list of all authorized programs found in LIBRARY1, and of the files and other
system objects that the programs reference. It stores the list in a database file named FILE2 in LIB2.
Example 2: Printing a List of Objects
DSPPGMREF
PGM(LIBRARY1/BILLING)
OUTPUT(*PRINT)
This command creates a list of system objects that are referenced by the BILLING program in LIBRARY1.
The output is spooled for printing.
Additional Considerations
When the DSPPGMREF command is entered, the library is searched for the program or programs
specified on the PGM parameter; then a group of records that give system object-related information about
each program is created. The records are placed in the printer device file named QPDSPPGM. If
OUTPUT(*PRINT) is specified on the command, the records are listed on the printer in the following order:
v Header information: Lists the DSPPGMREF command input values.
v Program-related information: Lists, for each program identified by the PGM parameter, all of the system
objects (including files) that are referenced by the program. If more than one program is identified, the
beginning of the next one follows the end of the previous one.
If the DSPPGMREF command is entered interactively and OUTPUT(*) is specified or assumed, the
records in the printer device file are shown instead of being printed.
92
Command Descriptions
93
Restriction: This command is shipped with public *EXCLUDE authority and the QPGMR, QSYSOPR,
QSRV, and QSRVBAS user profiles have private authorities to use the command.
Optional Parameters
LICPGM
Specifies the product for which PTFs are shown. When LICPGM(*ALL) is specified, PTFs for all
installed and supported products are shown.
*ALL: The PTFs of all installed and supported products are shown.
licensed-program: Specify the product for which PTFs are shown.
SELECT
Specifies which PTF is shown for the specified product. *ALL cannot be specified for the LICPGM
parameter if a PTF number is specified on the SELECT parameter.
When LICPGM(*ALL) and SELECT(*ALL) are specified, all PTFs for all installed and supported
products are shown.
When LICPGM(licensed-program) and SELECT(*ALL) are specified, PTFs for all releases of the
specified products are shown.
*ALL: The status of all PTFs for the specified product is shown.
*ONORDER: The PTFs that are currently on order are shown. This special value allows a user to
get a list of PTFs that are currently on order. This special value is valid for PTFs both on order
and on the system, that is, in the QGPL library save file or in a loaded status.
*PTFSAVF: Only PTFs for which save files exist within the QGPL library are shown. This special
value is useful to the base system user for determining which PTF save files are no longer
needed. It is also useful for the service provider for determining which PTFs can be distributed.
*ACTRQD: The PTFs that have actions pending are shown. This special value is useful to the
user for determining which PTFs require an action to become active.
Note:
PTF-number: Specify the PTF identification number of the PTF that is shown.
RLS
COVERONLY
Specifies whether only the cover letter is displayed.
*NO: The cover letter is not displayed.
*YES: The cover letter is displayed.
94
OUTPUT
Specifies whether the output from this command is displayed, printed, or directed to a database
file. More information on this parameter is in commonly used parameters.
*: Output requested by an interactive job is shown on the display. Output requested by a batch job
is printed with the jobs spooled output.
*PRINT: The output is printed with the jobs spooled output. The name of the spooled file is
QSYSPRT.
*OUTFILE: The output is directed to the database file specified on the OUTFILE parameter.
OUTFILE
Specifies the qualified name of the output file that is used to store the requested DSPPTF
information. This parameter is valid only if OUTPUT(*OUTFILE) is specified. The model output file
is QADSPPTF in library QSYS.
The name of the file can be qualified by one of the following library values:
*LIBL: All libraries in the jobs library list are searched until the first match is found.
*CURLIB: The current library for the job is searched. If no library is specified as the
current library for the job, the QGPL library is used.
LICPGM(5722SS1)
OUTPUT(*PRINT)
This command produces a printout containing the status of PTFs for the product 5722SS1.
Example 2: Printing Information
DSPPTF
LICPGM(5722SS1)
SELECT(SI00034)
OUTPUT(*PRINT)
This command produces a printout containing detailed information about PTF SI00034 for the product
5722SS1.
Command Descriptions
95
96
1. This command is valid only in debug mode. To start debug mode, refer to the STRDBG (Start Debug)
command.
2. This command cannot be used if the user is servicing another job, and that job is on a job queue, or is
being held, suspended, or ended.
3. This command cannot be used to display variables in a bound program.
4. This command cannot be used to display variables within the system domain unless the user has
*SERVICE special authority.
Required Parameter
PGMVAR
Specifies the names of from 1 through 10 program variables whose values are shown. The
variables can be in a high-level language (HLL) or machine-interface (MI) program.
Element 1: Program Variables
*CHAR: This special value is specified instead of a variable name if a basing pointer is also
specified. This special value displays a character view of a pointer being shown without the use of
a based variable.
program-variable: Specify the names of from 1 through 10 program variables to be shown. The
name must be enclosed in apostrophes if it contains special characters.
If the program variable is an array, the subscripts representing an element in the array can be
specified. If an array name is specified without any subscripts, all of the array elements are
recorded. A single-dimensional cross-section can also be specified. Up to 132 characters may be
specified for this program variable entry. This includes any qualifiers, subscripts, embedded
blanks, parentheses, and commas. It does not include the enclosing apostrophes when special
characters are used. An integer, MI ODV number, asterisk (single-dimensional cross-section), or a
numeric variable name can be specified for a subscript. For more information on the
program-variable value, refer to parameter values used for testing and debugging in the
Information Center.
Some examples are:
PGMVAR(A)
PGMVAR(A(2,B))
PGMVAR(B(I1,*,I3))
PGMVAR(VAR1 OF A(I,J IN B))
Optional Parameters
Command Descriptions
97
START
Specifies, for string variables only, the starting position in the string from which its value is being
displayed. If more than one string variable is specified in the PGMVAR parameter, the same
starting position value is used for each one. For a bit string, the value specifies the starting bit
position; for a character string, the value specifies the starting character position.
1: The scope of the open data path (ODP) is the job in which the Program variables occurs. If the
job is multi-threaded, only those opens from the same thread can share this ODP.
starting-position: Specify the first position in the string being displayed. The START value specified
must not be larger than the maximum string length for any variable specified, except that
START(1) is allowed if the maximum length for a string is zero. The LEN value, plus the START
position minus one, must not be greater than the maximum string length. These checks are made
for each string variable specified in the PGMVAR parameter.
LEN
Specifies, for string variables only, the length of the string shown when the breakpoint is reached,
starting at the position specified by the START parameter. If more than one string variable is
specified in the PGMVAR parameter, the same value is used for each one. For a bit string, the
value specifies the number of bits shown; for a character string, the value specifies the number of
characters shown.
*DCL: The string variable is shown to the end of the string or for a value of 200 bytes, whichever
is less. If the string variable has a maximum length of zero, only LEN(*DCL) is allowed.
displayed-length: Specify the length of the data shown. The length (as well as the combination of
START and LEN) must be no greater than the length of the shortest string specified in the
PGMVAR parameter.
OUTFMT
Specifies the format in which the objects are shown.
*CHAR: The program variables are shown in character form.
*HEX: Program variables are shown in both character format and hexadecimal format.
OUTPUT
Specifies whether the output from the command is shown at the requesting display station or
printed with the jobs spooled output. More information on this parameter is in commonly used
parameters.
*: Output requested by an interactive job is shown on the display. Output requested by a batch job
is printed with the jobs spooled output.
*PRINT: The output is printed with the jobs spooled output.
PGM
Specifies the name of the program that contains the program variables shown.
*DFTPGM: The program currently specified as the default program has its variables shown.
program-name: Specify the name of the program whose program variables are shown.
RCRLVL
Specifies which recursion level of the program contains the variables being shown. Recursion level
1 is the first (or earliest) call of the program, recursion level 2 is the second call of the program,
and so on to the last (most recent) recursion level in the stack. For example, if program A calls
program B, and then program B calls program A, a new recursion level of program A is formed.
Some high-level languages also allow recursive procedures. For these programs, refer to the
appropriate high-level language manual for more information.
*LAST: The last (most recent) call of the program contains the pointer being shown.
recursion-level-number: Specify the number of the recursion level of the program containing the
pointer being shown.
98
PGMVAR(&QUANT)
PGM(MYPROG)
Assuming that the program MYPROG is in debug mode, this command shows the name and current value
of the CL variable called &QUANT its type and length are also shown.
Example 2: Displaying Program Variables
DSPPGMVAR
PGMVAR(TOTSALES
PGM(REGION) RCRLVL(1)
MANHRS)
This command shows the program variables TOTSALES and MANHRS of the first call of the program
REGION.
Error messages for DSPPGMVAR
*ESCAPE Messages
CPF1999
Errors occurred on command.
Command Descriptions
99
OUTPUT
Specifies whether the output from the command is shown at the requesting work station, printed
with the jobs spooled output, or directed to a database file. More information on this parameter is
in commonly used parameters.
*: Output requested by an interactive job is shown on the display. Output requested by a batch job
is printed with the jobs spooled output.
*PRINT: The output is printed with the jobs spooled output.
*OUTFILE: The output is directed to the database file specified on the OUTFILE parameter.
OUTFILE
Specifies the qualified name of the database file to which output of the display is directed. If this
file does not exist, this command creates a database file in the specified library. If this function
creates the file, the text states Outfile for DSPPGMADP, and the public authority is *EXCLUDE.
The name of the output database file can be qualified by one of the following library values:
*LIBL: All libraries in the jobs library list are searched until the first match is found.
*CURLIB: The current library for the job is searched. If no library is specified as the
current library for the job, the QGPL library is used.
USRPRF(xxx)
OUTPUT(*PRINT)
This command causes the objects that adopt the special and private authorities of user profile (xxx) to be
printed.
Error messages for DSPPGMADP
*ESCAPE Messages
CPF2204
User profile &1 not found.
100
CPF2213
Not able to allocate user profile &1.
CPF2217
Not authorized to user profile &1.
CPF9845
Error occurred while opening file &1.
CPF9846
Error while processing file &1 in library &2.
CPF9850
Override of printer file &1 not allowed.
CPF9860
Error occurred during output file processing.
101
If the release specified is not the release of the installed base option of the product, only cover
letters for the product options that are supported or installed at that release are displayed.
CVRATR
Specifies which cover letter to display based on the attributes in the cover letter.
*ALL: All cover letters are displayed.
*SPCINST: Only cover letters with special instructions are displayed.
*PREIMM: Only cover letters with special instructions that need to be followed before being
applied or removed immediately are displayed.
*PREOPR: Only cover letters with special instructions that need to be followed before being
applied or removed (immediately or delayed) are displayed.
*PREDLY: Only cover letters with special instructions that need to be followed before being
applied or removed during an IPL (delayed) are displayed.
*POSTOPR: Only cover letters with special instructions that need to be followed after being
applied or removed are displayed.
*UNKNOWN: Display the cover letters for which the system cannot detect if they have attributes.
The most likely reasons are when the PTF cover letter was created prior to operating system
release V5R1M0, or the cover letter was created using the System Manager for AS/400 licensed
program.
CVRLTRLNG
Specifies the language feature code that is used to display the cover letters.
*DFT: Cover letters are displayed in the default language feature code. If there is only one cover
letter for the PTF, it will be displayed. If there is more than one cover letter for the PTF, the
following criteria will be used to determine which cover letter to display.
v The language feature code that matches the service contact information (WRKCNTINF).
v If no language feature code matches the service contact information, the language feature code
that matches the operating system will be used.
v If no cover letters match the language feature code in the service contact information, or the
language feature code of the operating system, all cover letters for the PTF will be displayed.
The user will be given a list of language feature codes to chose from (if requested by an
interactive job) or all cover letters will be printed with the jobs spooled output (if requested by a
batch job).
*ALL: Cover letters for all languages are displayed.
feature-code: Cover letters for the selected language feature code are displayed. If a cover letter
for the selected language feature code is not available, no cover letter is displayed for the PTF.
More information on language feature code identifications and a list of IBM-supplied language
feature codes is in the Software Installation
book.
OUTPUT
Specifies whether the output from the command is shown at the requesting workstation or printed
with the jobs spooled output. More information on this parameter is in Commonly used
parameters.
*: The output is displayed (if requested by an interactive job) or printed with the jobs spooled
output (if requested by a batch job).
*PRINT: The output is printed with the jobs spooled output. The name of the spooled output file is
QSYSPRT.
Example for DSPPTFCVR
102
LICPGM(5722SS1)
SELECT(SI00034)
OUTPUT(*PRINT)
This command produces a printout of the cover letter for PTF SI00034 in the product 5722SS1.
Error messages for DSPPTFCVR
*ESCAPE Messages
CPF0C4B
Product availability object &2/&1 recovery required.
CPF0C4C
Cannot allocate object &1 in library &2.
CPF0C4D
Error occurred while processing object &1 in library &2.
CPF3586
List of PTFs not correct.
CPF358A
Release not valid.
CPF35BE
Product &1 &3 not supported or installed.
CPF35F5
Cover letter not found for PTF &1-&2 &3.
CPF35D5
Cover letter NLV not valid.
CPF6601
No PTF activity exists for product &1.
CPF6602
PTF &1-&2 &3 not found.
CPF6603
No PTFs found.
103
OUTPUT
Specifies whether the output from the command is shown on the display of the workstation that
entered the command or printed with the jobs spooled printer output.
*: The output requested by an interactive job is shown on the display. Output requested by a batch
job is printed with the jobs spooled output.
*PRINT: The output is printed with the jobs spooled printer output.
Example for DSPRCVCMD
DSPRCVCMD
OUTPUT(*PRINT)
This command displays all remote command requests that are active on the managed system to a spooled
file.
Error messages for DSPRCVCMD
None
Specifies the qualified name of the physical file that contains the member whose record locks are
shown on the display.
The name of the physical file can be qualified by one of the following library values:
*LIBL: All libraries in the jobs library list are searched until the first match is found.
*CURLIB: The current library for the job is searched. If no library is specified as the
current library for the job, the QGPL library is used.
Optional Parameters
MBR
Specifies the name of the member in the file whose record locks are shown on the display.
*FIRST: The first member in the database file is used.
member-name: Specify the name of the physical file member that is shown.
RCDNBR
Specifies a particular relative record number or all records of a member.
104
*ALL: The lock status of all records currently locked in a physical file member is shown on the
display.
record-number: Specify the number of the record whose lock status is shown on the display.
OUTPUT
Specifies whether the output from the command is shown at the requesting work station or printed
with the jobs spooled output. More information on this parameter is in commonly used
parameters.
*: Output requested by an interactive job is shown on the display. Output requested by a batch job
is printed with the jobs spooled output.
*PRINT: The output is printed with the jobs spooled output.
Example for DSPRCDLCK
DSPRCDLCK
FILE(MASTER/PAYROLL)
RCDNBR(1) OUTPUT(*)
MBR(*FIRST)
This command shows the lock status of relative record number 1, in the first member of the physical file
named PAYROLL in the MASTER library.
Error messages for DSPRCDLCK
*ESCAPE Messages
CPF3130
Member &2 already in use.
CPF3210
File &1 in library &2 not correct type.
CPF3247
Record number &4 does not exist in member &3.
CPF3275
Member &3 file &1 in &2 not found.
CPF7D41
Error occurred while logging order assistance request.
CPF7D42
Error occurred while performing database operation.
CPF9803
Cannot allocate object &2 in library &3.
CPF9810
Library &1 not found.
CPF9812
File &1 in library &2 not found.
CPF9845
Error occurred while opening file &1.
CPF9846
Error while processing file &1 in library &2.
CPF9847
Error occurred while closing file &1 in library &2.
CPF9871
Error occurred while processing.
Command Descriptions
105
106
ASPGRP
Specifies the name of the auxiliary storage pool (ASP) group from which to list the top 500 access
paths. The ASP group name is the name of the primary independent ASP device within the ASP
group.
auxiliary-storage-pool-group-name: Specify the name of the auxiliary storage pool (ASP) group
from which to list the top 500 access paths. The ASP group name is the name of the primary
independent ASP device within the ASP group.
Examples for DSPRCYAP
Example 1: Displaying All Recovery Times for Access Paths
DSPRCYAP
This command shows the target access path recovery times and recovery status information for the
system and
active or available
auxiliary storage pools. Output from the command is shown on the
workstation if the command is run interactively, or printed with the jobs spooled output if the command is
run in batch.
Example 2: Printing Recovery Times for Access Paths for an ASP Group
DSPRCYAP OUTPUT(*PRINT) ASP(*ASPGRP) ASPGRP(WAREHUS1)
This command shows the target access path recovery times and recovery status information for the
independent ASP group WAREHUS1. Output from the command is printed with the jobs spooled output.
Command Descriptions
107
OUTPUT
Specifies whether the relational database directory information is displayed at the requesting work
station, printed, or directed to an output file.
*: Output requested by an interactive job is shown on the display. Output requested by a batch job
is printed with the jobs spooled output.
*PRINT: The requested information is printed with the jobs spooled output.
*OUTFILE: The requested information is stored in an output file.
OUTFILE
Specifies the qualified name of the output file to which the requested information is directed. If the
file does not exist, it is created. If a new file is created, system file QADSPDE in system library
QSYS with a record format name of RWRDDSP is used as a model. If the file already exists, it
must have this format. This parameter is valid only if OUTPUT(*OUTFILE) is specified.
The name of the database file can be qualified by one of the following library values:
*LIBL: All libraries in the jobs library list are searched until the first match is found.
*CURLIB: The current library for the job is searched. If no library is specified as the
current library for the job, the QGPL library is used.
108
OUTPUT(*PRINT)
This command directs information from all of the relational database directory entries to a spooled file.
Example 2: Directing Information to an Output File
DSPRDBDIRE
OUTPUT(*OUTFILE)
OUTFILE(SAVEDIR)
This command directs all of the relational database directory entries to an output file named SAVEDIR.
This is the usual method for backing up the contents of the relational database directory. The entries can
be restored using a CL program that reads the information from the output file and issues Add Relational
Database Directory Entry (ADDRDBDIRE) commands to add the information back into the relational
database directory.
Error messages for DSPRDBDIRE
*ESCAPE Messages
CPF3EC3
Display relational database directory entry failed.
109
Optional Parameters
OUTPUT
Specifies whether the output from this command is displayed, printed, or directed to a database
file. More information on this parameter is in commonly used parameters.
*: Output requested by an interactive job is shown on the display. Output requested by a batch job
is printed with the jobs spooled output.
*PRINT: The output is printed with the jobs spooled output.
*OUTFILE: The output is directed to the database file specified on the OUTFILE parameter.
OUTFILE
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 name of the file can be qualified by one of the following library values:
*LIBL: All libraries in the jobs library list are searched until the first match is found.
*CURLIB: The current library for the job is searched. If no library is specified as the
current library for the job, the QGPL library is used.
SYSTEM(RCHAS1)
This command displays the current attributes for remote system RCHAS1.
Example 2: Writing a Definition to an Output File
DSPRMTDFN SYSTEM(*ALL)
OUTFILE(RMTDFNOUT)
110
OUTPUT(*OUTFILE)
This command writes the current attributes for all defined remote systems to the output file RMTDFNOUT.
Error messages for DSPRMTDFN
*ESCAPE Messages
CPF6A50
Error was found during display file or printer file operation.
CPF6DCA
SYSTEM parameter cannot be local system.
CPF6DCC
Remote definition for system &1 &2 not found.
CPF9860
Error occurred during output file processing.
CPF9899
Error occurred during processing of command.
Specifies the qualified name of the save file to be shown on the display.
The name of the save file can be qualified by one of the following library values:
*LIBL: All libraries in the jobs library list are searched until the first match is found.
*CURLIB: The current library for the job is searched. If no library is specified as the
current library for the job, the QGPL library is used.
Optional Parameter
Command Descriptions
111
OUTPUT
Specifies whether the output from the command is shown at the requesting workstation or printed
with the jobs spooled output. More information on this parameter is in commonly used
parameters.
*: Output requested by an interactive job is shown on the display. Output requested by a batch job
is printed with the jobs spooled output.
*PRINT: The output is printed with the jobs spooled output.
Example for DSPSAVF
DSPSAVF
FILE(ONLINE)
OUTPUT(*PRINT)
This command shows the objects saved to save file ONLINE. The output is printed with the jobs spooled
output.
Error messages for DSPSAVF
*ESCAPE Messages
CPD375A
Media error on save media.
CPF3704
Request ended; data management error occurred.
CPF3743
File cannot be restored, displayed, or listed.
CPF3782
File &1 in &2 not a save file.
CPF3782
File &1 in &2 not a save file.
CPF3792
Information not displayed. Error occurred.
CPF3793
Machine storage limit reached.
CPF3812
Save file &1 in &2 in use.
CPF9806
Cannot perform function for object &2 in library &3.
CPF9809
Library &1 cannot be accessed.
CPF9812
File &1 in library &2 not found.
CPF9820
Not authorized to use library &1.
CPF9822
Not authorized to file &1 in library &2.
CPF9850
Override of printer file &1 not allowed.
CPF9851
Overflow value for file &1 in &2 too small.
112
OUTPUT(*PRINT)
Command Descriptions
113
OUTPUT
Specifies whether the output from the command is shown at the requesting workstation or printed
with the jobs spooled output. More information on this parameter is in commonly used
parameters.
*: The output is displayed (if requested by an interactive job) or printed with the jobs spooled
output (if requested by a batch job).
*PRINT: The output is printed with the jobs spooled output.
Example for DSPSECAUD
DSPSECAUD
This command displays current information about the security audit journal and the current settings for the
system values that control what is being audited on the system.
Error messages for DSPSECAUD
*ESCAPE Messages
CPFB304
User does not have required special authorities.
This command will show the server authentication entries for the currently running user.
114
Command Descriptions
115
1. You must have *USE authority to the service program being displayed and *EXCUTE authority to the
library in which the service program exists.
2. You must have *USE authority to the service program when DETAIL(*MODULE) is specified.
Required Parameter
SRVPGM
Specifies the name of the service program for which information is displayed or printed.
The name of the service program can be qualified by one of the following library values:
*LIBL: All libraries in the jobs library list are searched until the first match is found.
*CURLIB: The current library for the job is searched. If no library is specified as the
current library for the job, the QGPL library is used.
Optional Parameters
OUTPUT
Specifies whether the output from the command is shown at the requesting work station or printed
with the jobs spooled output.
*: Output requested by an interactive job is shown on the display. Output requested by a batch job
is printed with the jobs spooled output.
*PRINT: The output is printed with the jobs spooled output.
DETAIL
Specifies the type of information displayed for the service program. More than one value can be
specified, with the exception of *ALL, which must be specified as a single value.
*ALL: All of the DETAIL information types (*BASIC, *SIZE, *MODULE, *SRVPGM, *PROCEXP,
*DTAEXP, *ACTGRPEXP, *ACTGRPIMP, *SIGNATURE, and *COPYRIGHT) are shown on the
display. If the user has chosen the information to be displayed on the screen, the user would be
able to scroll through the information for each DETAIL, but would have to press Enter (or PF12) to
go from DETAIL to DETAIL.
*BASIC: General service program information is shown.
*SIZE: The size and size limits are shown.
*MODULE: A list of the module objects bound by this service program is shown. The library shown
for each module is the library that the module was in when the service program was first created.
If the module has been replaced by a module from a different library, this library name remains the
name of the library that the module was in when the service program was created. To determine
the source that the module was created from, use option 5=Display description to see the source
file, library, and member names.
*SRVPGM: A list of the service program objects bound by this service program is shown.
*PROCEXP: A list of the procedures exported from a service program and specified in the binding
language is shown. The exports are only for the current signature.
116
*DTAEXP: A list of the data items exported from a service program and specified in the binding
language is shown. The exports are only for the current signature.
*ACTGRPEXP: A list is shown of the data items exported to the activation group specified in the
data export entry in the binding specifications.
*ACTGRPIMP: A list is shown of the imports that are resolved by weak exports that had been
exported to the activation group directory.
*SIGNATURE: A list of the signatures is shown. The first signature in the list is the current
signature.
*COPYRIGHT: A list of the copyrights is shown.
Example for DSPSRVPGM
DSPSRVPGM
SRVPGM(COACH)
Command Descriptions
117
CPF9871
Error occurred while processing.
118
Optional Parameters
JOB
Specifies which job is having its service status shown on the display. If no user name or job
number are given, all of the jobs currently in the system are searched for the simple job name; the
name specified must be unique within the system.
A job identifier is a special value or a qualified name with up to three elements. For example:
*
job-name
user-name/job-name
job-number/user-name/job-name
This command shows the service status information for the job from which the command is entered.
Error messages for DSPSRVSTS
*ESCAPE Messages
CPF3520
Job not found.
CPF3524
More than one job with specified name found.
CPF3925
Cannot open file &1.
CPF3950
Error message &2 received for file &1. Request ended.
119
OUTPUT
Specifies whether the output from the command is displayed at the requesting work station,
printed with the jobs spooled output, or directed to a database file.
More information on this parameter is in commonly used parameters.
*: Output requested by an interactive job is shown on the display. Output requested by a batch job
is printed with the jobs spooled output.
*PRINT: The output is printed with the jobs spooled output.
*OUTFILE: The output is directed to the database file specified on the OUTFILE parameter.
Note:
OUTFILE
Specifies the qualified name 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. If a new file is
created, the system uses the physical file QARZLCOF in the library list as a model file. The file
has a record format name of QARZLCGD. Field level information can be obtained using the
Display File Field Description (DSPFFD) command and specifying QARZLCOF as the file name
and *LIBL as the library. If this function creates the file, the text says Output file for
DSPSFWRSC. The authority for users other than those who have specific authority, group
authority, or authority from an authorization list, is the same as the create authority specified for
the library in which the file is created. This parameter is valid only if OUTPUT(*OUTFILE) is
specified.
The name of the database file can be qualified by one of the following library values:
*LIBL: All libraries in the jobs library list are searched until the first match is found.
*CURLIB: The current library for the job is searched. If no library is specified as the
current library for the job, the QGPL library is used.
120
OUTPUT(*OUTFILE)
OUTFILE(*CURLIB/NAMES)
This command sends the output from the command to the first member of the file NAMES in the current
library. The output replaces the information in the member.
Error messages for DSPSFWRSC
*ESCAPE Messages
CPF0C4A
Product record not found.
CPF0C4B
Product availability object &2/&1 recovery required.
CPF0C4C
Cannot allocate object &1 in library &2.
CPF0C4D
Error occurred while processing object &1 in library &2.
CPF0C54
Data in product record not correct.
CPF9860
Error occurred during output file processing.
CPF9871
Error occurred while processing.
book.
Optional Parameters
OUTPUT
Specifies whether the output from the command is displayed at the requested work station or
printed with the jobs spooled printer output. More information on this parameter is in commonly
used parameters.
*: Output requested by an interactive job is shown on the display. Output requested by a batch job
is printed with the jobs spooled output.
*PRINT: The output is printed with the jobs spooled output.
DETAIL
Specifies whether the output from the command is printed as a list of nodes or as a detailed
description of each node in the sphere of control.
*BASIC: A list of nodes in the sphere of control is printed.
*FULL: A list of nodes in the sphere of control with detailed information for each node is printed.
Command Descriptions
121
This command shows the Sphere of Control Status display at the requesting work station.
Error messages for DSPSOCSTS
None
Specifies the name of the spooled file whose records are to be displayed.
Optional Parameters
JOB
Specifies the qualified name of the job and consists of as many as three elements. For example:
job-name
user-name/job-name
job-number/user-name/job-name
*N may be used in place of the user-name element to maintain position in the sequence. More
information on this parameter is in commonly used parameters.
*: The job that issued this DSPSPLF command is the job that created the spooled file.
job-name: Specify the name of the job that created the spooled file.
user-name: Specify the name of the user of the job that created the spooled file.
job-number: Specify the number of the job that created the spooled file.
SPLNBR
Specifies the number of the jobs spooled file that is being displayed. More information on this
parameter is in commonly used parameters.
*ONLY: One spooled file from the job has the specified file name. The number of the spooled file
is not necessary. If *ONLY is specified and more than one spooled file has the specified file name,
a message is sent.
*LAST: The highest-numbered spooled file with the specified file name is displayed.
*ANY: The spooled file number is not used to determine which spooled file is used. Use this
value when the job system name parameter or the spooled file creation date and time parameter
is to take precedence over the spooled file number when selecting a spooled file.
122
spooled-file-number: Specify the number of the spooled file having the specified file name whose
data records are displayed.
JOBSYSNAME
Specifies the name of the system where the job that create the spooled file (JOB parameter) ran.
This parameter is considered after the job name, user name, job number, spooled file name, and
spooled file number parameter requirements have been met.
*ONLY: There is one spooled file with the specified job name, user name, job number, spooled file
name, spooled file number, and spooled file creation date and time.
*CURRENT: The spooled file created on the current system with the specified job name, user
name, job number, spooled file name, spooled file number, and creation date and time is used.
*ANY: The job system name is not used to determine which spooled file is used. Use this value
when the spooled file creation date and time parameter is to take precedence over the job system
name when selecting a spooled file.
system name: Specify the name of the system where the job that created the spooled file ran.
CRTDATE
Specifies the date and time the spooled file was created. This parameter is considered after the
job name, user name, job number, spooled file name, spooled file number, and job system name
parameter requirements have been met.
*ONLY: There is one spooled file with the specified job name, user name, job number, spooled file
name, spooled file number, and job system name.
*LAST: The spooled file with the latest creation date and time of the specified job name, user
name, job number, spooled file name, spooled file number, and job system name is used.
Element 1: Date spooled file was created
date: Specify the date the spooled file was created.
Element 2: Time spooled file was created
*ONLY: There is one spooled file with the specified job name, user name, job number, spooled file
name, spooled file number, job system name, and spooled file creation date.
*LAST: The spooled file with the latest creation time of the specified job name, user name, job
number, spooled file name, spooled file number, job system name, and spooled file creation date
is used.
time: Specify the time the spooled file was created.
FOLD Specifies whether the records in the first display are folded if they are longer than the length of the
display line.
*NO: The records are not folded. When the length of the record is longer than one line, the
remaining positions of the record are not shown.
*YES: The first display shows the first record folded on one or more display lines if it is longer
than one line.
Example for DSPSPLF
DSPSPLF FILE(QPRINT)
FOLD(*NO)
JOB(PAYROLL01)
SPLNBR(4)
In this example, the spooled file QPRINT is displayed. The file is the fourth file produced by the job
PAYROLL01. The record positions that are longer than the length of the display line are truncated on the
first display.
Error messages for DSPSPLF
Command Descriptions
123
*ESCAPE Messages
CPF2207
Not authorized to use object &1 in library &3 type *&2.
CPF3303
File &1 not found in job &5/&4/&3.
CPF3308
Error occurred when trying to display data.
CPF3309
No files named &1 are active.
CPF3330
Necessary resource not available.
CPF3340
More than one file with specified name found in job &5/&4/&3.
CPF3342
Job &5/&4/&3 not found.
CPF3343
Duplicate job names found.
CPF3344
File &1 number &2 no longer in the system.
CPF3359
Not able to display data.
CPF3386
File &1 in &2 not a data base file.
CPF3387
Cannot display data in file &1 in &2.
CPF3394
Cannot convert spooled file data.
CPF33F9
Error occurred while displaying file &1 number &2.
CPF3427
Job &5/&4/&3 not interactive job.
CPF3428
DSPSPLF command ended for file &1 number &2.
CPF3429
File &1 number &2 cannot be displayed, copied, or sent.
CPF3434
Data in file &1 in &2 member &3 not in required format.
CPF3435
Requested data not found in file &1 in &2 member &3.
CPF3478
File &1 not found in job &5/&4/&3 on output queue &6 in library &7.
CPF3492
Not authorized to spooled file.
CPF7D41
Error occurred while logging order assistance request.
124
CPF7D42
Error occurred while performing database operation.
CPF9812
File &1 in library &2 not found.
CPF9815
Member &5 file &2 in library &3 not found.
CPF9845
Error occurred while opening file &1.
CPF9846
Error while processing file &1 in library &2.
CPF9871
Error occurred while processing.
Specifies the change request name and the sequence number of the activity list to display.
The possible change request name values are:
change-request-name: Specify the name of the change request for which activities are displayed.
The possible sequence number values are:
sequence-number: Specify the change request sequence number.
Optional Parameters
STATUS
Specifies the status criteria for displaying activities.
Possible values are:
Command Descriptions
125
*SUCCESS: Displays all activities with the highest end code between 0 and 9.
*FAIL: Displays all activities with the highest end code between 10 and 89.
*NOTRUN: Displays all activities with the highest end code between 90 and 99.
end-code: Specify the end code to use. Displays activities with the specified end code or
an end code greater than the one specified. The valid values are 0 through 99.
OUTPUT
Specifies whether the command output files displays at the requested work station, or prints with
the spooled output.
*: Displays output files requested by an interactive job. Batch job output prints with the
jobs spooled output.
126
Displays the activities of the change request named CHG001 with the sequence number 123456.
Error messages for DSPSBMCRQA
*ESCAPE Messages
None
ACTIVITY
Specifies the name of the activity for which the messages are displayed.
The possible values are:
*ALL: Display all change request messages regardless of the activity name.
Command Descriptions
127
*LAST: Display the message for the last activity that runs. The actual stored name is *LAST.
activity-name: Specify a change request activity for which you want to display messages.
CPNAME
Specifies the APPN control point names of the managed systems on which this activity is to be
performed.
Element 1: Network Identifier Values
*ALL: Messages are displayed regardless of the destination network ID.
*NETATR: Only change request activity messages for which the destination network ID is the
same as the one defined in the network attributes for this system are displayed.
network-identifier: Specify a network ID. Only change request messages with the destination
network ID and with the control point name specified are displayed.
Element 2: Control Point Values
*ALL: Messages display regardless of the destination node control point name.
*NETATR: Only change request activity messages for which the destination control point name is
the same as the one defined in the system network attributes are displayed.
control-point-name: Specify a control point name. Only change request activity messages for the
destination network ID and for the control point name are displayed. For NetView Distribution
Management Agents, the control point name is the change control client which supports numeric
characters (0-9) in the first position of control point names that are valid in other platforms.
SEV
Specifies that the severity level for which messages are displayed.
0: All messages in the message queue specified are shown.
severity-code: Specify a value 0 through 99. Displays messages with a severity code equal to or
greater than the value specified.
PERIOD
Specifies a period of time for which the messages for either the change requests or message
requests are displayed. The following values can be coded in this parameter, which contains two
lists of two elements each:
Element 1: Starting Time
One of the following is used to specify the starting time at which or after which the change request
message must have been logged. Change requests logged before the specified time and date are
not displayed.
*AVAIL: The change request messages that are available for the specified starting date are
displayed.
start-time: Specify the starting time for the specified starting date that indicates the change
requests to be displayed.
Element 2: Starting Date
One of the following is used to specify the starting date on which or after which the change
requests messages must have been logged. Messages logged before the specified date are not
displayed.
*BEGIN: The change request messages from the beginning of the log are displayed. If *BEGIN is
specified, then any start time value other than *AVAIL for start-time is ignored.
*CURRENT: The change request messages logged today between the specified starting and
ending times are displayed.
start-date: Specify the starting date for which change request messages are displayed.
128
This example shows how to display all messages for change request CHG0001 with sequence number
000001.
Example 2: Displaying All Severity 30 Messages for a Change Request
DSPSBMCRQM CRQ(CHG0001 000001)
ACTIVITY(APLYPTF) SEV(30)
This example shows how to display all change request messages for CRQ00001 000001 activity APLYPTF
with severity greater than, or equal to 30.
Example 3: Displaying All Messages for a Specified Period
DSPSBMCRQM CRQ(CHGRQS*) CPNAME(*NETATR CHICAGO)
PERIOD((*AVAIL 08/31/02)
(*AVAIL *CURRENT ))
This example displays all messages for change requests starting with CHGRQS and that have a
destination of CHICAGO. Only the messages logged between 8/31/02 and the current date are displayed.
Error messages for DSPSBMCRQM
*ESCAPE Messages
None
Command Descriptions
129
STATUS
Specifies the status of the change request to display.
*ALL: Display all qualified change requests regardless of status.
*SBM: Display only the change requests with a status of Submitting.
*ACTIVE: Display only the change requests with a status of Active.
*ENDED: Display the change requests with a status of Ended.
HIGHENDCDE
Specifies the highest end code or range for which change requests are displayed.
*ANY: Display all change requests regardless of the highest end code.
*FAIL: Display all change requests with the highest end code between 10 and 89.
*SUCCESS: Display all change requests with the highest end code between 0 and 9.
*NOTRUN: Display all change requests with the highest end code between 90 and 99.
highest-end-code: Specify the highest end code for which to display change requests. The valid
values are 0 through 99.
LASTENDCDE
Specifies the last change request end code or range for which change requests are displayed.
*ANY: Display all change requests regardless of the last end code.
130
*FAIL: Display all change requests with the last end code between 10 and 89.
*SUCCESS: Display all change requests with the last end code between 0 and 9.
*NOTRUN: Display all change requests with the last end code between 90 and 99.
last-end-code: Specify the last end code for which to display change requests. The valid values
are 0 through 99.
CRQD Specifies the qualified name of the change request description object.
The possible library values are:
*ALL: Search all libraries in the system for the specified change request description.
library-name: Specify that only the library specified in this parameter be searched.
The possible values for change request description names are:
*ALL: Display all change requests regardless of their change request descriptions.
change-request-description: Specify that only change requests based on the specified change
request description be displayed.
generic*-change-request-description: Specify a generic change request description name. A
generic name is a character string containing one or more characters followed by an asterisk(*).
Display only change requests based on the change request description names matching or
beginning with the string.
SBM
PERIOD
Specifies the period of time for which the change requests are displayed. The following values can
be coded in this parameter, which contains two lists of two elements each:
Element 1: Starting Time
One of the following is used to specify the starting time at which or after which the change request
must have been submitted. Change requests submitted before the specified time and date are not
displayed.
*AVAIL: The change requests that are available for the specified starting date are displayed.
start-time: Specify the starting time for the specified starting date that indicates the change request
to be displayed.
Element 2: Starting Date
One of the following is used to specify the starting date on which or after which the change
requests must have been submitted. Entries submitted before the specified date are not displayed.
*BEGIN: Change requests are displayed beginning with the date that the first change request
submitted. If *BEGIN is specified, then any time value other than *AVAIL for start-time is ignored.
*CURRENT: The change requests submitted today between the specified starting and ending
times are displayed.
start-date: Specify the starting date for which change requests are displayed.
Command Descriptions
131
132
This command displays all change requests with names that start with CRQ.
Example 2: Displaying All Change Requests That Failed
DSPSBMCRQ STATUS(*ENDED) LASTENDCDE(*FAIL)
This command displays all change requests that ended in a failed state.
Example 3: Displaying Change Requests by a Specific User
DSPSBMCRQ SBM(JOE) PERIOD((*AVAIL 08/31/02)
(*AVAIL *CURRENT))
This command displays all change requests submitted by the user profile JOE beginning 31 August 2002
to the current date.
Example 4: Displaying Change Requests for a Specific Change Request Description
DSPSBMCRQ CRQD(CRQD001)
This command displays all submitted change requests based on the CRQD001 change request
description.
Error messages for DSPSBMCRQ
*ESCAPE Messages
None
*LIBL: All libraries in the jobs library list are searched until the first match is found.
*CURLIB: The current library for the job is searched. If no library is specified as the
current library for the job, the QGPL library is used.
133
Optional Parameter
OUTPUT
Specifies whether the output from the command is displayed at the requesting work station or
printed with the jobs spooled output. More information on this parameter is in commonly used
parameters.
*: Output requested by an interactive job is shown on the display. Output requested by a batch job
is printed with the jobs spooled output.
*PRINT: The output is printed with the jobs spooled output.
Example for DSPSBSD
DSPSBSD
SBSD(LIB6/ORDER)
OUTPUT(*)
This command (if entered from a batch job) sends a complete set of display information about the
subsystem description named ORDER (stored in LIB6 library) to the jobs spooling queue for printing. The
information includes the subsystems attributes, all of the job entries, and all of the routing entries currently
in the subsystem description. If the command is entered in an interactive job, the subsystem description
menu is shown on a display from which an option may be chosen.
Error messages for DSPSBSD
*ESCAPE Messages
CPF1619
Subsystem description &1 in library &2 damaged.
CPF1692
Subsystem description &1 not displayed.
CPF9850
Override of printer file &1 not allowed.
CPF9851
Overflow value for file &1 in &2 too small.
CPF9861
Output file &1 created in library &2.
CPF9871
Error occurred while processing.
134
*: Output requested by an interactive job is shown on the display. Output requested by a batch job
is printed with the jobs spooled output.
*PRINT: The output is printed with the jobs spooled output.
RESET
Specifies whether system status statistics fields are reset to zero, as if this is the first occurrence
of the DSPSYSSTS command in this job. The value specified on this parameter does not affect
the information presented for *BASIC assistance level.
*NO: The system status statistics are not reset.
*YES: The system status statistics are reset.
ASTLVL
Specifies which user interface to use.
*PRV: The previously used assistance level is presented.
*USRPRF: The assistance level defined in the user profile is presented.
*BASIC: The Operational Assistant user interface is presented.
*INTERMED: The system user interface is presented.
*ADVANCED: The system user interface expert mode is presented.
Example for DSPSYSSTS
DSPSYSSTS
OUTPUT(*PRINT)
Command Descriptions
135
*: Output requested by an interactive job is shown on the display. Output requested by a batch job
is printed with the jobs spooled output.
*PRINT: The output is printed with the jobs spooled output.
Example for DSPSYSVAL
DSPSYSVAL
SYSVAL(QHOUR)
This command displays the current value of the system value QHOUR.
Error messages for DSPSYSVAL
*ESCAPE Messages
CPF1028
&1 not valid for parameter SYSVAL.
CPF1074
SYSVAL(QMONTH) not valid for Julian date format.
CPF9845
Error occurred while opening file &1.
CPF9846
Error while processing file &1 in library &2.
CPF9847
Error occurred while closing file &1 in library &2.
CPF9850
Override of printer file &1 not allowed.
CPF9851
Overflow value for file &1 in &2 too small.
CPF9871
Error occurred while processing.
136
OUTPUT(*)
iSeries: CL Commands Volume 12
This command allows the user in an interactive job to display the System/36 environment description.
No error messages.
Specifies the name of the tape or media library device where the volume being displayed is
located.
Optional Parameters
VOL
Note:
*MOUNTED: The volume currently placed in the device is used. For a media library device, the
volume to be used is the next cartridge in the category mounted by the Set Tape Category
(SETTAPCGY) command.
volume-identifier: Specify the volume identifier of the labeled volume. The volume identifier read
from the tape is compared to this value. If the volume identifier specified is not found on the tape,
an escape message is sent.
LABEL
Specifies the data file identifiers of the data files on the tape whose labels are displayed. The data
file identifier is stored in the file label ahead of the data in the file.
*ALL: All data file identifiers on the tape specified on the DEV parameter are shown.
Command Descriptions
137
data-file-identifier: Specify the data file identifier (17 alphanumeric characters maximum) of the
data file for which label information is displayed. For save and restore files, the label is usually the
library name, but it does not have to be.
SEQNBR
Specifies, for volumes with multiple files, the range of sequence numbers of the data files on tape
whose label information is displayed. If LABEL(*ALL) is specified or assumed, all labels for the
files within the specified sequence number range are displayed after the specified starting file
sequence number.
If a specific LABEL identifier is specified, it is compared with the label identifier of the data file
specified by the starting sequence number. If the identifiers do not match, an error message is
sent.
This parameter can be specified as a list of two values (Elements 1 and 2) or as a single value
(*ALL).
Element 1: Starting File Sequence Number
*FIRST: The data file labels being displayed begin with the first file (or the only file) on the tape.
start-file-sequence-number: The valid range of sequence numbers is 1 through 16777215. If the
specified starting file sequence number is not found on the tape, an error message is sent.
Element 2: Ending File Sequence Number
*LAST: The range of data file labels being displayed begins with the specified starting file
sequence number and ends with the last data file label on tape.
*ONLY: Only the file specified in the starting sequence is displayed.
end-file-sequence-number: The valid range of sequence numbers is 1 through 16777215. The
specified ending file sequence number must be greater than or equal to the starting file sequence
number.
Note:
Note:
138
*OUTFILE: The output is directed to the database file specified on the OUTFILE parameter.
OUTFILE
Specifies the qualified name of the database file to which the information about the tape files is
directed. If the file does not exist, this command creates a database file in the specified library. If a
new file is created, the system uses QATADOF in QSYS as a model with the format name of
as a model
.
QTADOUTF
This parameter is valid only when OUTPUT(*OUTFILE) and DATA(*LABELS) is specified.
The name of the database file can be qualified by one of the following library values:
*LIBL: All libraries in the jobs library list are searched until the first match is found.
*CURLIB: The current library for the job is searched. If no library is specified as the
current library for the job, the QGPL library is used.
If
139
DEV(QTAPE2)
LABEL(*ALL)
The volume label and file labels on the tape volume that is on the tape device named QTAPE2 are
displayed.
Error messages for DSPTAP
*ESCAPE Messages
CPD375A
Media error on save media.
CPF3704
Request ended; data management error occurred.
CPF3743
File cannot be restored, displayed, or listed.
CPF3792
Information not displayed. Error occurred.
CPF3793
Machine storage limit reached.
CPF6708
Command ended due to error.
CPF6718
Cannot allocate device &1.
CPF6721
Device &1 not a tape device.
CPF6723
File not found on volume &2 on device &1.
CPF6724
File label &5 not found on volume &2.
CPF6745
Device &1 not a media library device.
CPF6751
Load failure occurred on device &4.
CPF6760
Device &1 not ready.
CPF6772
Volume on device &1 cannot be processed.
CPF9814
Device &1 not found.
CPF9825
Not authorized to device &1.
CPF9845
Error occurred while opening file &1.
CPF9846
Error while processing file &1 in library &2.
140
CPF9847
Error occurred while closing file &1 in library &2.
CPF9850
Override of printer file &1 not allowed.
CPF9851
Overflow value for file &1 in &2 too small.
Specifies the name of the library device to be used. The device name must have been created
previously on the system using the Create Device Media Library (CRTDEVMLB) command.
Optional Parameters
CTG
Note:
*ALL: All tape cartridges in the device or in the category specified are displayed.
generic*-cartridge-identifier: Specify the generic name of the cartridge identifier. A generic name is
a character string of one or more characters followed by an asterisk (*); for example, ABC*. The
asterisk substitutes for any valid characters. A generic name specifies all objects with names that
begin with the generic prefix for which the user has authority. If an asterisk is not included with the
generic (prefix) name, the system assumes it to be the complete object name. For more
information on the use of generic names, refer to generic names.
cartridge-identifier: Specify the cartridge identifier.
CGY
Command Descriptions
141
*CNV: The cartridge identifiers in the *CNV category are displayed. A cartridge in this category is
for use with the convenience station.
category-name: Specify the name of a user-defined category. This category name must have been
created previously with the Create Tape Category (CRTTAPCGY) command.
Element 2: Category System
This element identifies the system to which the category belongs. The system name is obtained
from the pending system name field of a Display Network Attributes (DSPNETA) command. If
there is no pending system name, the current system name attribute is used.
Attention
If the system name is changed, the category information associated with all tape cartridges in library devices owned
by the system are no longer valid.
*CURRENT: The category belongs to the system currently running this command.
*ALL: All systems that own categories available to the system running this command are used.
system-name: Specify the name of the system to which the category belongs.
Single Values:
*SHARE400: The cartridge identifiers in the *SHARE400 category are displayed. A cartridge in this
category can be shared with other systems attached to the same device.
*INSERT: The cartridge identifiers in the *INSERT category are displayed. A cartridge in this
category has been placed in the library device, but its identifier has not been added to the system.
*EJECT: The cartridge identifiers in the *EJECT category are displayed. A cartridge in this
category has had its identifier removed from the system and is no longer usable.
OUTPUT
Specifies whether the output from the command is displayed at the requesting work station,
printed to an output file, or printed with the jobs spooled output.
*: The output is displayed (if requested by an interactive job) or printed with the jobs spooled
output (if requested by a batch job).
*PRINT: The output is printed with the jobs spooled output.
*OUTFILE: The output is directed to a database file specified on the OUTFILE parameter. The file
must have the same format as database file QSYS/QATAVOF.
OUTFILE
Specifies the qualified name of the database file to which the information about the tape volumes
is directed. If the file does not exist, this command creates a database file in the specified library.
If a new file is created, the system uses QATAVOF in QSYS as a model with the format name of
QTAVOLOF.
Note:
The name of the database file can be qualified by one of the following library values:
*LIBL: All libraries in the jobs library list are searched until the first match is found.
142
*CURLIB: The current library for the job is searched. If no library is specified as the
current library for the job, the QGPL library is used.
DEV(LIB01)
CGY(*SHARE400)
OUTPUT(*)
This command displays the attributes of all tape cartridges in the *SHARE400 category on the work station
display.
Example 2: Displaying the Tape Cartridge for VOL3
DSPTAPCTG
DEV(LIB01)
CGY(*ALL)
CTG(VOL3)
OUTPUT(*)
143
CPF67D2
Cartridge does not exist
CPF67D4
Category not available
CPF67E4
Library device function not successful
CPF67E6
Volume &2 is not correct
CPF67EA
Function not successful
CPF67EC
Library device description &1 does not exist
CPF67ED
Library device &1 not available
CPF67F5
Duplicate cartridge ID found
CPF9814
Device &1 not found.
CPF9825
Not authorized to device &1.
*LIBL: All libraries in the jobs library list are searched until the first match is found.
144
*CURLIB: The current library for the job is searched. If no library is specified as the
current library for the job, the QGPL library is used.
This command displays the user defined categories on this system to the workstation display.
Error messages for DSPTAPCGY
*ESCAPE Messages
CPF67E4
Library device function not successful
Specifies the name of the media library device for which information is displayed.
*ALL: Specifies that all tape media library devices defined through Create Device Media Library
(CRTDEVMLB) command are displayed.
Command Descriptions
145
device-name: Specify the device name. The device name must be a tape media library device
name or a random access cartridge loader(RACL) device name. The device name must already
be known to the system by Create Device Media Library (CRTDEVMLB) command.
OUTPUT
Specifies whether the output from the command is displayed at the requesting workstation, printed
to an output file, or printed with the jobs spooled output.
*: The requested output is shown on the display. If this value is specified for a batch job, the effect
is the same as if *PRINT were entered.
*PRINT: The requested output is written to a spooled file, which is found in the jobs output queue.
*OUTFILE: The output is directed to a database file specified on the OUTFILE parameter. The file
must have the same format as database file QATAIOF or QATAIOF2.
OUTFILE
Specifies the qualified name of the database file to which the information about the tape media
libraries is directed. If the file does not exist, this command creates a database file in the specified
library. If a new file is created with OUTFILFMT(*TYPE1), the system uses QATAIOF in QSYS as
a model with the format name of QTAIOF2. This parameter is valid only when
OUTPUT(*OUTFILE) is specified.
database-file-name: Specify the name of the database file to be used.
OUTMBR
Specifies the name of the database file member to which the output is directed when
OUTPUT(*OUTFILE) is specified.
Element 1: Member to Receive Output
*FIRST: The first member in the file receives the output. If OUTMBR(*FIRST) is specified and the
member does not exist, the system creates a member with the name of the file specified on the
OUTFILE parameter.
member-name: Specify the name of the file member that is to receive the output. If
OUTMBR(member-name) is specified and the member does not exist, the system creates it.
Element 2: Operation to Perform on Member
*REPLACE: The existing records in the specified database file member are replaced by the new
records.
*ADD: The system adds the new records at the end of the existing member.
OUTFILFMT
Specifies the format of the output file when OUTPUT(*OUTFILE) is specified.
*TYPE1: The format is defined by model output file QATAIOF in library QSYS with record format
name QTAIOUTF.
*TYPE2: The format is defined by model output file QATAIOF2 in library QSYS with record format
name QTAIOF2.
Example for DSPTAPSTS
DSPTAPSTS
DEV(LIB01)
OUTPUT(*)
This command displays the valid information about this library device to the workstation display.
Error messages for DSPTAPSTS
*ESCAPE Messages
146
CPF6718
Cannot allocate device &1.
CPF6745
Device &1 not a media library device.
CPF67E4
Library device function not successful.
CPF67E7
No library devices exist.
CPF9814
Device &1 not found.
CPF9825
Not authorized to device &1.
CPF9845
Error occurred while opening file &1.
CPF9846
Error while processing file &1 in library &2.
CPF9847
Error occurred while closing file &1 in library &2.
CPF9860
Error occurred during output file processing.
CPF9871
Error occurred while processing.
Command Descriptions
147
PGM
Specifies the programs in the debug mode whose trace data statements and associated program
variables are displayed.
*DFTPGM: The trace data statement of the default program is displayed.
*ALL: Trace statements of the programs currently in the debug mode are displayed.
program-name: Specify the names of up to 20 programs already in the debug mode whose trace
data statements are displayed.
This command shows all of the trace data statement ranges currently specified in the default program of
this debugging session. Also displayed are the program variables (but not their values) that are associated
with the trace data statements.
Error messages for DSPTRC
*ESCAPE Messages
CPF1999
Errors occurred on command.
148
*: Output requested by an interactive job is shown on the display. Output requested by a batch job
is printed with the jobs spooled output.
*PRINT: The output is printed with the jobs spooled output.
CLEAR
Specifies whether the trace data is cleared after it has been displayed.
*NO: The trace data is not cleared.
*YES: The trace data is cleared after it has been displayed.
Example for DSPTRCDTA
DSPTRCDTA
This command shows all of the recorded trace data at the requesting display station. All of the trace
statements in the trace range and the values of the associated program variables are displayed. The trace
data is not cleared after it has been displayed because CLEAR(*NO) is assumed.
Error messages for DSPTRCDTA
*ESCAPE Messages
CPF1999
Errors occurred on command.
book.
Optional Parameters
Command Descriptions
149
USER Specifies the name of the user profile for which the information is displayed. The name in the
USER parameter must be enrolled in the system distribution directory before this command is run.
*CURRENT: The user profile that is currently running is used.
*ALL: Information is displayed for all users in the information directory.
user-profile-name: Specify the name of the user profile for which the information is displayed. Up
to 300 user profile names can be specified.
GRANTED
Specifies whether the output produced should display the granted-to relationships or granted-from
relationships of a user or users.
*TO: Users who are permitted to work on behalf of the specified user are displayed.
*FROM: Users that have permitted the specified user to work on their behalf are displayed.
OUTPUT
Specifies whether the output from the command is shown at the requesting workstation or printed
with the jobs spooled output. More information on this parameter is in commonly used
parameters.
*: Output requested by an interactive job is shown on the display. Output requested by a batch job
is printed with the jobs spooled output.
*PRINT: The output is printed with the jobs spooled output.
Examples for DSPUSRPMN
Example 1: Displaying Names of Users
DSPUSRPMN
USER(*CURRENT)
GRANTED(*TO)
OUTPUT(*PRINT)
This command prints the names of the users who are permitted to work on behalf of the current user.
Example 2: Printing Names of Users
DSPUSRPMN
USER(*ALL)
GRANTED(*TO)
OUTPUT(*PRINT)
This command prints the names of all users who have permitted other users to work on their behalf as
well as the names of the other users.
Error messages for DSPUSRPMN
*ESCAPE Messages
CPF9043
User permission is not displayed because error occurred.
CPF9845
Error occurred while opening file &1.
CPF9846
Error while processing file &1 in library &2.
CPF9847
Error occurred while closing file &1 in library &2.
CPF9850
Override of printer file &1 not allowed.
CPF9851
Overflow value for file &1 in &2 too small.
150
Command Descriptions
151
Printed in U.S.A.