The Work Object 2 command provides more options than the system
WRKOBJ command. In addition to the same options as WRKOBJ, WRKOBJ2
supports options for Change/Work, DSPxxx, DSPOBJD2, and MOVOBJ.
WRKOBJ2 provides specific commands for options such as CHGJOBD and
DSPJOBD if a JOBD object is being displayed.
For data base files, the WRKF2 command is used for Change/Work and
DSPF2 for DSPxxx.
A typical command would be:
WRKOBJ2 ABCD
Any objects beginning with a name of ABCD would be on the library
list would displayed in a subfile display. Options may then be taken
for further information or change.
A shorthand command 'W' exists, so that the command could be entered
as:
W ABCD
WRKOBJ2 escape messages you can monitor for
-------------------------------------------
None. Escape messages from based on functions will be re-sent.
WRKOBJ2 Command parameters *CMD
--------------------------
OBJ The qualified name of the object. A generic name or
*ALL may be entered. The library value defaults to
*LIBL. A specific library or *CURLIB, *USRLIBL,
*ALLUSR, or *ALL may be entered.
OBJTYPE The object type to be worked with. *ALL is the
default. Use the prompter for the list of supported
types.
W Command parameters *CMD
--------------------
OBJ The qualified name of the object. A generic name or
*ALL may be entered. The library value defaults to
*LIBL. A specific library or *CURLIB, *USRLIBL,
*ALLUSR, or *ALL may be entered.
OBJTYPE The object type to be worked with. *ALL is the
default. Use the prompter for the list of supported
types.
Restrictions
------------
None.
Prerequisites
-------------
The following TAA Tools must be on your system:
ADJVAR Adjust variable
CHGUSRSPC Change user space
CHKGENERC Check generic
DLTOBJ Delete object
DSPERRMSG Display error message
DSPOBJD2 Display object description 2
DSPDTAQ Display data queue
and other TAA DSP commands
EDTDTAARA Edit data area
HLRMVMSG HLL Remove message
PMTOPR Prompt operator
SNDESCINF Send escape information
SNDESCMSG Send escape message
WRKF2 Work file 2
Implementation
--------------
None, the tool is ready to use.
Objects used by the tool
------------------------
Object Type Attribute Src member Src file
------ ---- --------- ---------- ----------
WRKOBJ2 *CMD TAAOBLN QATTCMD
TAAOBLNC *PGM CLP TAAOBLNC QATTCL
TAAOBLNC11 *PGM CLP TAAOBLNC11 QATTCL
TAAOBLNC12 *PGM CLP TAAOBLNC12 QATTCL
TAAOBLNC13 *PGM CLP TAAOBLNC13 QATTCL
TAAOBLNR *PGM RPG TAAOBLNR QATTRPG
TAAOBLND *FILE DSPF TAAOBLND QATTDDS
The W command is created from CRTDUPOBJ of WRKOBJ2.
Structure
---------
WRKOBJ2 Cmd
TAAOBLNC CL pgm
TAAOBLNR RPG Pgm
TAAOBLND DSPF
TAAOBLNC11 CL pgm - Does options for simple commands
TAAOBLNC12 CL pgm - Does options for DSPxxx
TAAOBLNC13 CL pgm - Does options for Change/Work
|