Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Object Struct using iQuery (iQRYOBJ) command lists the *MODULE and *SRVPGM components of the object(s) specified. It uses the iQuery OBJSTRUCT() UDTF to generate the list. This is basically a wrapper for this UDTF making easier to use.
Restrictions:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
OBJ | Program or Service Program | Qualified object name | Required, Positional 1 |
Qualifier 1: Program or Service Program | Generic name, name, *ALL | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB, *ALLUSR, *ALL | ||
OBJTYPE | Object type | *ALL, *PGM, *SRVPGM | Optional, Positional 2 |
REFTYPE | Referenced Component type | *ALL, *MODULE, *SRVPGM | Optional, Positional 3 |
OMITLIB | Omit references to library | Name, QSYS, *NONE | Optional, Positional 4 |
WHERE | Results selection | Character value, *NONE | Optional, Positional 5 |
OUTPUT | Output | *, *PRINT, *PDF, *EXCEL | Optional, Positional 6 |
Top |
Specifies the name (generic, full or *ALL) of the program or service program that will be included on the list. The contents of these objects shall be listed.
This is a required parameter.
Qualifier 1: Program or Service Program
Qualifier 2: Library
Top |
Specifies the type of objects whose structure is listed.
Top |
Specifies the type of component (reference) objects that are listed. This allows users to list only the *MODULE objects or only the *SRVPGM objects that make up the parent object.
Top |
Specifies the name of a library whose references shall not be included. For example, many IBM runtime service programs may be attached to your own programs. Specifying OMITLIB(QSYS) causes these references to NOT be included in the results.
Top |
Top |
Specifies where the listing is generated.
Top |
Top |
*ESCAPE Messages
Top |