TAA Tools
RTVSYSD         RETRIEVE SYSTEM DESCRIPTION            TAASYTE

The Retrieve  System  Description command  retrieves information  about
the  system such  as  the serial  number, system  type,  model, feature
code, feature group, number of processors, system name, etc.

A typical command would be:

             DCL         &FTRGRP *CHAR LEN(4)
              .
             RTVSYSD     FTRGRP(&FTRGRP)
             IF          (&FTRGRP *EQ 'P05') DO ...

RTVSYSD escape messages you can monitor for
-------------------------------------------

None.  Escape messages from based on functions will be re-sent.

Command parameters                                    *CMD
------------------

   SRLNBR        The   serial  number  of  the  system.    This  is  an
                 optional  return  variable   that  if  used  must   be
                 specified as *CHAR LEN(8).

   SYSTYP        The system  type such  as 9406.   This is  an optional
                 return  variable  that if  used must  be  specified as
                 *CHAR LEN(4).

   MODEL         The model of the system  such as 270.  The value  will
                 be  left  adjusted.     This  is  an  optional  return
                 variable  that  if  used must  be  specified  as *CHAR
                 LEN(4).

   SYSPRCFTR     The System processor  feature such as  22A2.  This  is
                 the  same  value  as  seen  for  the  QPRCFEAT  system
                 value.   This is an  optional return variable  that if
                 used must be specified as *CHAR LEN(4).

   ORDPRCFTR     The  Orderable processor  feature such as  1502.  This
                 is an optional  return variable that  if used must  be
                 specified as *CHAR LEN(4).

   INTPRCFTR     The  Interactive  processor   feature  such  as  1518.
                 This  is  an  optional return  variable  that  if used
                 must be specified as *CHAR LEN(4).

   FTRGRP        The Processor feature group such  as P10.  This is  an
                 optional  return   variable  that  if  used   must  be
                 specified as *CHAR LEN(4).

   NBRPRCS       The  Number of Processors  that exist  for the system.
                 This is  an  optional  return variable  that  if  used
                 must be specified as *DEC LEN(5 0).

   SYSNAM        The System  Name.   This  is the  same  value as  seen
                 with  DSPNETA.   This is  an optional  return variable
                 that if used must be specified as *CHAR LEN(8).

   RELEASE       The  Release of the  system.  The  value is taken from
                 'System Level'  for  QCMD  in  QSYS.   It  appears  as
                 VxRxMx.   This is an optional return  variable that if
                 used must be specified as *CHAR LEN(6).

   LICRLS        The  Release of the  LIC.  This is  an optional return
                 variable that  if  used  must be  specified  as  *CHAR
                 LEN(6).

Restrictions
------------

None.

Prerequisites
-------------

The following TAA Tools must be on your system:

     SNDESCMSG       Send escape message

Implementation
--------------

None, the tool is ready to use.

Objects used by the tool
------------------------

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

   RTVSYSD       *CMD                   TAASYTE       QATTCMD
   TAASYTEC      *PGM       CLP         TAASYTEC      QATTCL
   TAASYTER      *PGM       RPGLE       TAASYTER      QATTRPG
					

Added to TAA Productivity tools October 15, 2001


Home Page Up to Top