The Display Create User command displays or lists objects and
compares the 'create user' to the 'current owner'. A specific
'create user' may be selected. Differences are flagged. DSPCRTUSR
may be helpful in understanding changes that have occurred.
For the best use, an *ALLOBJ authority user should run the command.
If the user of the command is not authorized to an object, it will
not be checked.
You must have *ALLOBJ authority to specify a qualified library name
of *ALL, *ALLUSR, or *IBM.
A typical command would be:
DSPCRTUSR OBJ(xxx/*ALL)
All objects in the library would be listed along with the 'create
user' and the 'current owner'. Any differences would be flagged.
In most cases, you should avoid a library value of *LIBL, *ALL, or
*IBM as this will cause the QSYS library to be checked which has a
large number of differences.
DSPCRTUSR escape messages you can monitor for
---------------------------------------------
None. Escape messages from based on functions will be re-sent.
DSPCRTUSR Command parameters *CMD
----------------------------
OBJ The qualified name of the object to be listed. A
specific object, a generic name, or *ALL may be
entered.
A library value must be specified. A specific
library or the special values *LIBL, *USRLIBL,
*CURLIB, *ALL, *ALLUSR, or *IBM may also be entered.
Using a library value of *LIBL, *ALL, or *IBM will
cause the QSYS library to be checked which has a
large number of differences.
OBJTYPE The type of object to be selected. *ALL is the
default.
For a list of the supported object types, use the
prompter.
OBJATTR The object attribute to be selected such as RPG or
PF. *ALL is the default.
DIFFONLY A *YES/*NO value for whether to list only those
objects where there is a difference between the
create user and owner.
*YES is the default to list only those that differ.
*NO may be specified to list all objects.
CRTUSR The create user to select. *ALL is the default. A
specific name or the special value *IBM may be
entered.
INCIBM A *YES/*NO value for whether to include the objects
where the create user is *IBM. This value is used
for objects created as part of the system as it is
shipped.
The default is *YES to include *IBM as the create
user.
*NO may be entered to exclude *IBM as the create
user.
OUTPUT How to output the results. * is the default to
display the spooled file if the command is entered
interactively. The spooled file is deleted after it
is displayed.
If the command is entered in batch or *PRINT is
specified, the spooled file is output and retained.
Restrictions
------------
If the user is not authorized to an object, it will not be checked.
You must have *ALLOBJ authority to specify a qualified library name
of *ALL, *ALLUSR, or *IBM.
Prerequisites
-------------
The following TAA Tools must be on your system:
CHKALLOBJ Check *ALLOBJ special authority
RTVSYSVAL3 Retrieve system value 3
SNDCOMPMSG Send completion message
SNDESCINF Send escape information
SNDESCMSG Send escape message
SNDSTSMSG Send status message
Implementation
--------------
None, the tool is ready to use.
Objects used by the tool
------------------------
Object Type Attribute Src member Src file
------ ---- --------- ---------- ----------
DSPCRTUSR *CMD TAAOBLQ QATTCMD
TAAOBLQC *PGM CLP TAAOBLQC QATTCL
TAAOBLQR *PGM RPG TAAOBLQR QATTRPG
|