TAA Tools
CHKSRCTYP2      CHECK SOURCE TYPE 2                    TAASREY

The  Check  Source  Type  2 command  provides  a  simple  check  of  an
existing source  member to ensure  it has a  source type that  you want
to  process.    A  list of  one  or  more valid  source  types  must be
provided.  If the source type  of the named member is not in  the list,
TAA9896 is sent as an escape message.

A typical command would be:

             CHKSRCTYP    SRCFILE(xxx) MBR(yyy) SRCTYPE(RPG RPG38)

If the named member  in the source file does not have  a type of RPG or
RPG38,  TAA9896 would be sent as an  escape message.  The message would
describe the valid types.

CHKSRCTYP2 escape messages you can monitor for

      TAA9896    Member source type does not match the list

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

Command parameters                                    *CMD

   SRCFILE       The qualified name of the  source file to be  checked.
                 The  library value  defaults  to *LIBL.   *CURLIB  may
                 also be used.

   SRCMBR        The name of the member to be checked.

   SRCTYPE       A  list of  one or  more  source types  such as  PF or
                 PF38 to check  against the  type of  the named  member
                 in the file.   Up to  15 source types may  be entered.
                 Use the command prompter for the complete list.




The following TAA Tools must be on your system:

     CHKOBJ3         Check object 3
     EXTLST          Extract list
     RSNLSTMSG       Resend last message
     RTVDBFA         Retrieve data base file attributes
     SNDESCINF       Send escape information
     SNDESCMSG       Send escape message


None, the tool is ready to use.

Objects used by the tool

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

   CHKSRCTYP2    *CMD                   TAASREY       QATTCMD
   TAASREYC      *PGM       CLP         TAASREYC      QATTCL

Added to TAA Productivity tools January 1, 2007

Home Page Up to Top