TAA Tools
RTVCALLR        RETRIEVE CALLER OF A HLL PROGRAM       TAAPGMS

The  Retrieve  Caller  of  a  HLL  program   tool  is  a  program  that
determines  the  name  of  the  program  that called  the  current  HLL
program.

See also the RTVPGMSTK tool.

A typical RPG set of operations would be:

     C* Use TAA Tool RTVCALLR to determine name of calling program
     C                     CALL 'RTVCALLR'                 TAA Tool
     C                     PARM           PGM    10        Calling pgm

The  PGM field would  contain the name  of the program  that called the
current program.

There is no command.  Only the RTVCALLR program is provided.

If the  current program  is an  OPM program,  the name  of the  program
immediately preceding  in the  stack is used.   If the  current program
is  an ILE program, the  code accounts for the  fact that an additional
program is in the stack.

A similar function  is provided  by the  RTVPGMNAM tool for  use in  CL
programs.

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

None.

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

The following TAA Tools must be on your system:

     RTVPGMSTK       Retrieve program stack

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

None, the tool is ready to use.

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

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

   RTVCALLR      *PGM       CLP         TAAPGMSC      QATTCL
					

Added to TAA Productivity tools December 1, 1996


Home Page Up to Top