Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The COZZI - Display Object Info (DSPOBJINF) command prints a report of the operating system release level and other object information. Use the selection and sort parameters to control the resulting report information.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
OBJ | Object name(s) | Values (up to 300 repetitions): Element list | Required, Positional 1 |
Element 1: Object | Qualified object name | ||
Qualifier 1: Object | Generic name, name, *ALL, *ALLUSR, *IBM | ||
Qualifier 2: Library | Generic name, name, *ALL, *ALLUSR, *CURLIB, *LIBL, *USRLIBL | ||
Element 2: Object type | Character value, *ALL | ||
INCLUDE | Include objects criteria | Single values: *ALL Other values (up to 300 repetitions): Element list |
Optional, Positional 2 |
Element 1: Relationship | *IF, *AND, *OR, IF, AND, OR | ||
Element 2: Selection field | *TGTRLS, *CRTDATE, *CHGDATE, *JRNSTATUS, *LASTUSED, *LASTUSE, *LSTUSED, *LSTUSE, *OBJATR, *OBJATTR, *OBJTYPE, *OBJTEXT, *OBJSIZE, *OBJOWN, *OWNER, *CREATOR, *PGMENV, *ISSRC, *ISSROURCE, *CRTSYSNAME, *SYSNAME, TGTRLS, CRTDATE, CHGDATE, LASTUSED, LASTUSE, LSTUSED, LSTUSE, OBJOWN, OBJSIZE, OBJATTR, OBJATR, OBJTYPE, JRNSTATUS, *TEXT, *CRTUSRPRF, CRTUSRPRF, PGMENV, CRTSYSNAME, SYSNAME | ||
Element 3: Relational operator | *EQ, *LT, *LE, *GT, *GE, *NE, EQ, LT, LE, GT, GE, NE, *CT, CT | ||
Element 4: Value | Character value, *CURRENT, *TRUE, *FALSE | ||
OBJSTS | Object status | Element list | Optional, Positional 3 |
Element 1: Select or omit | *SELECT, *OMIT | ||
Element 2: Object status |
Single values: *ALL Other values (up to 5 repetitions): *NORMAL, *DAMAGED, *PARTIAL, *LOCKED, *AUTHORITY, *DMG, *PDMG, *LCK, *AUTH, D, P, L, A |
||
ORDERBY | Order output sequence | Single values: *ARRIVAL, *NONE Other values (up to 20 repetitions): Element list |
Optional, Positional 4 |
Element 1: Sequence by field | *OBJNAME, *OBJLIB, *OBJTYPE, *OBJATR, *TEXT, *CRTDATE, *LASTCHG, *CREATOR, *OWNER, *SYSNAME, *LASTUSED, *SYSLVL, *COMPILER, *OBJLVL, *TGTRLS | ||
Element 2: Ascending or Descending | *ASCEND, *DESCEND, *ASC, *DES, *DSC, *DESC, *A, *D | ||
OUTPUT | Output | Optional, Positional 5 | |
OUTQ | Output queue | Single values: *JOB Other values: Qualified object name |
Optional, Positional 6 |
Qualifier 1: Output queue | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
LPI | Lines per inch (LPI) | 8, 3.0, 4.0, 6.0, 7.5, 8.0, 9.0, 12.0 | Optional, Positional 7 |
CPI | Characters per inch (CPI) | 18, 5.0, 10.0, 12.0, 13.3, 15.0, 16.7, 18.0, 20.0 | Optional, Positional 8 |
OVRFLW | Overflow line number | 1-255, *HALFINCH, .5 | Optional, Positional 9 |
Top |
Specifies the list of object names to be included on the report.
This is a required parameter.
You can specify 300 values for this parameter.
Element 1: Object
Qualifier 1: Object
Qualifier 2: Library
Element 2: Object type
Top |
Specifies select/omit criteria for the selected objects. Multiple entries may be specified for this parameter to create a compound selection statement.
Single values
Other values (up to 300 repetitions)
Element 1: Relationship
Element 2: Selection field
Element 3: Relational operator
Element 4: Value
Top |
Specifies whether to include or omit objects that are damaged, partially damaged, locked by another job, or when the user of this command is not authorized to the object information.
Select or Omit
Object Status
Top |
Specifies the sequence in which records are returned and subsequently printed. Multiple sort fields may be specified along with an indication of Ascending or Descending order for that field.
Top |
Specifies where the output is directed. The SPOOLed file is created on the output queue is specified on the OUTQ parameter. The default OUTQ(*JOB) means it is SPOOLed to the output queue associated with the job running this command. When OUTPUT(*) is specified, the SPOOLed file is created and is then displayed using the DSPSPLF command. When OUTPUT(*) is specified and the user returns from the DSPSPLF command, the SPOOL file is deleted.
Top |
Specifies output queue where the report is SPOOLed. NOTE the output is deleted by the command after it is viewed when OUTPUT(*) is specified. To avoid it being deleted, the user must specify OUTPUT(*PRINT).
Single values
Qualifier 1: Output queue
Qualifier 2: Library
Top |
Specifies the line spacing setting on the printer, in lines per inch, used by the DSPOBJINF command for the QPRINT printer file. In English, this means the number of lines per inch that are printed to the SPOOLED file. A setting of 8 is the default, meaning 8 lines per inch are printed. Higher or lower values may be specified if desired.
This is an optional parameter.
Top |
Specifies the printer character density (in characters per inch) used by the DSPOBJINF command.
This is an optional parameter.
Use 13.3 for 11-inch wide paper to get the full 132 columns. Using a CPF(12) setting, while mathematically within 132/11 will not produce the desired results as paper margins need to be considered.
Top |
Specifies the line number on the page at which overflow to a new page occurs. Generally, after the specified line is printed, the printer overflows to the next page before printing continues. Overflow is signaled when the specified line number is made the current line, whether printing has occurred on that line or not. The value specified must not exceed the forms length.
This is an optional parameter.
Top |
Example 1: Simple Command Example
DSPOBJINF KWD1(PARMVAL1)
This command <...>
Example 2: More Complex Command Example
DSPOBJINF KWD1(PARMVAL1) KWD2(PARMVAL2) KWD3(PARMVAL3)
This command <...>
Top |
*ESCAPE Messages
Top |