TAA Tools
RTVMODA         RETRIEVE MODULE ATTRIBUTES             TAAMODA

The Retrieve Module  Attributes command retrieves the attributes  for a
*MODULE  object.   The QBNRMODI  API is  used  to retrieve  the values.
The command may only be used in a CL program.

A typical command would be:

            DCL        &SRCMBR *CHAR LEN(10)
             .
            RTVMODA    MODULE(xxx) SRCMBR(&SRCMBR)

RTVMODA command parameters                            *CMD
--------------------------

   MODULE        The  qualified name of the  module.  The library value
                 defaults to *LIBL.  *CURLIB may also be used.

   RTNLIB        An   optional  return   variable   for   the   library
                 containing  the  module.   If  specified,  it must  be
                 declared as *CHAR LEN(10).

   MODATR        An  optional return variable for  the attribute of the
                 module.  If  specified, it must  be declared as  *CHAR
                 LEN(10).

   CRTDAT        An optional  return variable  for the  create date  of
                 the  module.   The  value  is returned  in  the format
                 CYYMMDDHHMMSS.  If specified,  it must be declared  as
                 *CHAR LEN(13).

   SRCFIL        An optional return  variable for the source  file used
                 to  create  the module.    If  specified,  it must  be
                 declared as *CHAR LEN(10).

   SRCLIB        An   optional   return   variable   for   the  library
                 containing  the  source   file  used  to   create  the
                 module.   If specified, it  must be declared  as *CHAR
                 LEN(10).

   SRCMBR        An  optional  return variable  for  the  source member
                 used to create the module.   If specified, it must  be
                 declared as *CHAR LEN(10).

   SRCDAT        An optional return  variable for the last  change date
                 of  the source member  used to create  the the module.
                 The value  is returned  in the  format  CYYMMDDHHMMSS.
                 If specified,  it must be  declared as  *CHAR LEN(13).

   OWNER         An  optional  return variable  for  the  owner of  the
                 module.   If specified,  it must be  declared as *CHAR
                 LEN(10).

   CRTDTA        An  optional  return  variable  for  the  whether  the
                 module contains  creation data.  *YES,  *NO, or *UNOBS
                 will  be returned.  If specified,  it must be declared
                 as *CHAR LEN(6).

   CCSID         An optional  return  variable  for the  CCSID  of  the
                 module.   If specified,  it must  be declared  as *DEC
                 LEN(5 0).

   MINRLS        An  optional return  variable for the  minimum release
                 the  module  may  be  restored  to.    The  value   is
                 returned  in the  format  VxRxMx.   If  specified,  it
                 must be declared as *CHAR LEN(6).

   STATE         An  optional  return variable  for  the module  state.
                 The values returned are:

                 I  =  Inherit  State  where the  module  can  be bound
                 together with other user or system state modules:

                 S  =  System State  where  the  module  can  be  bound
                 together  with other  system  state  or inherit  state
                 modules.

                 U  =   User  State  where  the  module  can  be  bound
                 together  with  other  user  state  or  inherit  state
                 modules.  If  specified, it must be  declared as *CHAR
                 LEN(1).

   CONVRQD       An  optional return  variable  for whether  the module
                 requires  conversion  to  RISC  format.    The  values
                 returned are:  N = Conversion  is not  required.  Y  =
                 Conversion  is required.    If specified,  it  must be
                 declared as *CHAR LEN(1).

   MINPARM       The  minimum number of parameters  that must be passed
                 to the module.   If specified, it must be  declared as
                 *DEC LEN(5 0).

   MAXPARM       The maximum  number of  parameters that may  be passed
                 to  the module.  If specified,  it must be declared as
                 *DEC LEN(5 0).

   NBREXPSYM     The  number   of  exported   defined  symbols.      If
                 specified, it must be declared as *DEC LEN(5 0).

   NBRIMPSYM     The  number  of  imported   unresolved  symbols.    If
                 specified, it must be declared as *DEC LEN(5 0).

   CRTRLS        The release  the module was created on.   The value is
                 returned in  the  format  VxRxMx.   If  specified,  it
                 must be declared as *DEC LEN(5 0).

   ENAPRFCOL     The  level of  performance  collection enabled.    Two
                 values are  returned.  This  is the first  value.  See
                 the  API  description  for  a  complete understanding.
                 If specified,  it must be  declared as *CHAR  LEN(10).

   ENAPRFCOL2    The  level of  performance  collection  enabled.   Two
                 values  are returned.  This is  the second value.  See
                 the API  description  for  a  complete  understanding.
                 If specified,  it must be  declared as  *CHAR LEN(10).

   SRTSEQ        The sort  sequence table name.   If specified, it must
                 be declared as *CHAR LEN(10).

   SRTSEQLIB     The sort sequence table  library name.  If  specified,
                 it must be declared as *CHAR LEN(10).

   LANGID        The  language  identifier used  when  the  module  was
                 created.   If specified, it must be  declared as *CHAR
                 LEN(10).

   PRFDTA        The  profile data attribute of  the module.  *NOCOL or
                 *COL will  be  returned.   If  specified, it  must  be
                 declared as *CHAR LEN(10).

   INTLNGDTA     Whether  the module  has  intermediate language  data.
                 *YES  or *NO will be returned.   If specified, it must
                 be declared as *CHAR LEN(4).

   STGMOD        Whether the  automatic  and static  storage  for  this
                 module   is  allocated   at   run   time.     *SNGVAL,
                 *TERASPACE,   or  *INHERIT  will  be   returned.    If
                 specified, it must be declared as *CHAR LEN(12).

   TERASPACE     The  teraspace  storage  capability  of  the   module.
                 *YES or *NO will  be returned.  If specified,  it must
                 be declared as *CHAR LEN(4).

   TEXT          An optional  return variable for  the text description
                 of  the module.  If specified,  it must be declared as
                 *CHAR LEN(50).

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

Because the  command returns variables,  it may  only be  used in a  CL
program.

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

None.

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

None, the tool is ready to use.

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

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

   RTVMODA       *CMD                   TAAMODA       QATTCMD
   TAAMODAC      *PGM       CLP         TAAMODAC      QATTCL
					

Added to TAA Productivity tools November 1, 1997


Home Page Up to Top