CHKOWNSAVF CHECK OWNER SAVE FILE TAASAWL |
The Check Owner of Save File command checks the objects in a save
file to see if they are owned by a specified user. If a library
object is in the save file, it is also checked. An option exists to
check the owner of the save file. TAA9896 is sent as an escape
message if a different owner exists.
A typical command would be:
CHKOWNSAVF SAVF(xxx) OWNER(yyy)
The objects within the save file must be owned by the owner yyy.
Since the default for SAVFOWN is *YES, the owner of the save file
must also be the same.
CHKOWNSAVF escape messages you can monitor for
----------------------------------------------
TAA9896 One or more objects are not owned as requested
Escape messages from based on functions will be re-sent.
CHKOWNSAVF Command parameters *CMD
-----------------------------
SAVF The qualified name of the save file. The library
value defaults to *LIBL. A specific library or
*CURLIB may also be used.
OWNER The name of the owner to be checked.
SAVFOWN A *YES/*NO parameter for whether the owner of the
save file should be checked.
*YES is the default meaning the owner of the save
file must be that of the OWNER parameter.
*NO may be specified to bypass the check.
Restrictions
------------
None.
Prerequisites
-------------
The following TAA Tools must be on your system:
CVTSAVFD Convert save file description
EDTVAR Edit variable
SNDCOMPMSG Send completion message
SNDDIAGMSG Send diagnostic message
SNDESCINF Send escape information
SNDESCMSG Send escape message
Implementation
--------------
None, the tool is ready to use.
Objects used by the tool
------------------------
Object Type Attribute Src member Src file
------ ---- --------- ---------- ----------
CHKOWNSAVF *CMD TAASAWL QATTCMD
TAASAWLC *PGM CLP TAASAWLC QATTCL
|
Added to TAA Productivity tools May 15, 2008