Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Display Module (DSPMOD) command displays information about a module. The display includes information about the compiler, the source from which the module was created, the processing attributes of the module, and the size of the module.
Restrictions:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
MODULE | Module | Qualified object name | Required, Positional 1 |
Qualifier 1: Module | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
DETAIL | Detail | Single values: *ALL Other values (up to 7 repetitions): *BASIC, *SIZE, *EXPORT, *IMPORT, *PROCLIST, *REFSYSOBJ, *COPYRIGHT |
Optional, Positional 2 |
OUTPUT | Output | *, *PRINT, *OUTFILE | Optional, Positional 3 |
OUTFILE | File to receive output | Qualified object name | Optional |
Qualifier 1: File to receive output | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
OUTMBR | Output member options | Element list | Optional |
Element 1: Member to receive output | Name, *FIRST | ||
Element 2: Replace or add records | *REPLACE, *ADD |
Top |
Specifies the module for which information is to be displayed.
This is a required parameter.
Qualifier 1: Module
Qualifier 2: Library
Top |
Specifies which set of information is displayed for the module.
Single values
Note: DETAIL(*ALL) is valid only when information is displayed or printed. It is not valid if *OUTFILE is specified for the Output (OUTPUT) parameter.
Other values (up to 7 repetitions)
Top |
Specifies whether the output from this command is displayed, printed, or directed to a database file.
Note: When a procedure name longer than 256 characters is encountered and the value *OUTFILE is specified, the last 253 characters of the procedure name are placed in the output file and are preceded by three less than (<<<) characters. The less than (<<<) characters indicate that this is only a partial name. The diagnostic message CPD5D12, which indicates that not all available information is returned, is sent to the job log. The same message is sent as a status message to the calling program of the command processing program (CPP) that can be monitored. You can use the Retrieve Module Information (QBNRMODI) or the List Module Information (QBNLMODI) APIs to find the complete name of the procedure.
Note: DETAIL(*ALL) is not valid when OUTPUT(*OUTFILE) is specified.
Top |
Specifies the database file to which the output of this command is directed. If the output file 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: When a procedure name longer than 256 characters is encountered and the value *OUTFILE is specified, the last 253 characters of the procedure name are placed in the output file and are preceded by three less than (<<<) characters. The less than (<<<) characters indicate that this is only a partial name. The diagnostic message CPD5D12, which indicates that not all available information is returned, is sent to the job log. The same message is sent as a status message to the calling program of the command processing program (CPP) that can be monitored. You can use the Retrieve Module Information (QBNRMODI) or the List Module Information (QBNLMODI) APIs to find the complete name of the procedure.
The IBM-supplied database files and their record formats are as follows:
Detail: File: Record Format: *BASIC QABNDMBA QBNDMBAS *SIZE QABNDMSI QBNDMSIZ *EXPORT QABNDMEX QBNDMEXP *IMPORT QABNDMIM QBNDMIMP *PROCLIST QABNDMPR QBNDMPRO *REFSYSOBJ QABNDMRE QBNDMREF *COPYRIGHT QABNDMCO QBNDMCOP
Qualifier 1: File to receive output
Qualifier 2: Library
Top |
Specifies the name of the database file member to which the output is directed. If a member already exists, the system uses the second element of this parameter to determine whether the member is cleared before the new records are added. If the member does not exist and a member name is not specified, the system creates a member with the name of the output file specified for the File to receive output (OUTFILE) parameter If an output file member name is specified, but the member does not exist, the system creates it.
Element 1: Member to receive output
Element 2: Replace or add records
Top |
Top |
*ESCAPE Messages
*STATUS Messages
Top |