TAA Tools

The CVTWRKSBS command  converts the WRKSBS  information to a  data base
file.   The file  can then be  processed to determine  which subsystems
are active and the number of active jobs in each.

The  output is placed in  the file named WRKSBSP  in a library that you
specify.  The model file is TAAJOBCP with a format name of WRKSBSR.

A typical command would appear as:

     CVTWRKSBS       OUTLIB(xxxxx)

Note  that  the  WRKSBS   information  describes  a  count  of   1  per
workstation for  the Active Jobs.   Thus you cannot  determine if there
are group jobs or system request jobs active.

The  SBACTJ field allows  for 9999 active  jobs.  If  the value exceeds
this, SBACTJ will be 0 and SBACT2 contains the 7 digit value.

Command parameters                                    *CMD

   OUTLIB        The output  library  which will  contain  the  WRKSBSP
                 file.    If  the  file does  not  exist,  it  will  be

   MBR           The  member  name  where you  want  the  output.   The
                 default is WRKSBSP.   If  the member  does not  exist,
                 it will be added.

   SBS           The  subsystem name  to  be converted.    *ALL is  the
                 default  for all  subsystems.   A specific  or generic
                 subsystem name may be entered.

   MBROPT        The  member option to control  whether you want to add
                 or  replace  any  existing  records  in   the  member.
                 *REPLACE is the default and you may specify *ADD.

File format

The file name that is output is WRKSBSP.

The model file used is TAAJOBCP with a format name of WRKSBSR.

To see the field names used:





The following TAA Tools must be on your system:

      CHKGENERC     Check generic
      EDTVAR        Edit variable
      RTVACTSBS     Retrieve active subsystems
      RTVSBSD       Retrieve subsystem description
      SNDCOMPMSG    Send completion message
      SNDESCMSG     Send escape message
      SNDSTSMSG     Send status message


None, the tool is ready to use.

Objects used by the tool

   Object        Type       Attribute      Src member     Src file
   ------        -----      ---------      ----------     -----------

   TAAJOBCP      *FILE         PF          TAAJOBCP       QATTDDS
   CVTWRKSBS     *CMD                      TAAJOBC        QATTCMD
   TAAJOBCC      *PGM          CLP         TAAJOBCC       QATTCL
   TAAJOBCR      *PGM          RPG         TAAJOBCR       QATTRPG

Added to TAA Productivity tools April 1, 1995

Home Page Up to Top