CVTIFSOWN CONVERT IFS OWNED OBJECTS TAAIFTP |
The Convert IFS Owner command builds an outfile of the owned objects
in the IFS (does not include objects in libraries). The system
DSPUSRPRF OUTFILE function does not output this information. The
QSYLOBJA API is used to extract the information. The outfile is
named IFSOWNP and is placed in a specified library. The model file
is TAAIFTPP with a format name of IFSOWNR.
For a display of the information, see the DSPIFSOWN command.
You must have *ALLOBJ special authority to use CVTIFSOWN for a user
profile other than your own.
A typical command would be:
CVTIFSOWN USRPRF(xxx) OUTLIB(QTEMP)
The IFS objects owned by the specified user profile would be output
to the IFSOWNP file in QTEMP.
The outfile includes the 5000 byte IFPATH field to allow further
processing of the object.
CVTIFSOWN escape messages you can monitor for
---------------------------------------------
None. Escape messages from based on functions will be re-sent.
CVTIFSOWN Command parameters *CMD
----------------------------
USRPRF The user profile name to convert owned IFS objects
for. Objects in libraries are not included (use
DSPUSRPRF TYPE(*OBJOWN)).
The default is *CURRENT for the current user.
A user profile other than the current user may be
entered by a user who has *ALLOBJ special authority.
OUTLIB The library in which the IFSOWNP file will be
placed. The default is *LIBL which cannot be used
if the file does not exist.
OUTMBR The member of the IFSOWNP file to be used. If the
member does not exist, it is added. The default is
IFSOWNP.
REPLACE A *YES/*NO value for whether the member should be
cleared before writing records into it. The default
is *YES.
*NO may be specified to add records to existing
data.
Restrictions
------------
*ALLOBJ special authority is required if a user profile other than
the current user is specified.
Prerequisites
-------------
The following TAA Tools must be on your system:
CHKALLOBJ Check *ALLOBJ special authority
CRTUSRSPC Create user space
DUPTAADBF Duplicate TAA data base file
EDTVAR Edit variable
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
------ ---- --------- ---------- ----------
CVTIFSOWN *CMD TAAIFTP QATTCMD
TAAIFTPC *PGM CLP TAAIFTPC QATTCL
TAAIFTPC2 *PGM CLP TAAIFTPC2 QATTCL
TAAIFTPR *PGM RPGLE TAAIFTPR QATTRPG
TAAIFTPP *FILE PF TAAIFTPP QATTDDS
|
Added to TAA Productivity tools August 1, 2008