TAA Tools
CRTXREFLF       CREATE QADBXREF LF                     TAADBIN

The Create  QADBXREF logical  file program  creates a  logical file  in
QTEMP  over the  system QADBXREF  file.   The  system QADBXREF  file is
very  complex and cannot  be read by  OPM programs.   Using the file in
an ILE program is  not easy either.   By calling the TAADBINC  supplied
program, a LF  is created in QTEMP  that can be used to  read the basic
fields in the QADBXREF file.

The  physical  file  TAADBINP  is  provided  which  is  intended to  be
compiled against  for  those programs  desiring  to read  the  QADBXREF
file.

During  execution  time, an  OVR  is  needed  which will  override  the
TAADBINP file found in the program to the created LF TAADBINL.

A typical series of commands would be:

          CALL         TAATOOL/TAADBINC /* Creates TAADBINL in QTEMP */
          OVRDBF       TAADBINP TOFILE(QTEMP/TAADBINL) SECURE(*YES)
          CALL         xxx  /* Pgm uses PF TAADBINP */

The  TAADBINC program will  create the TAADBINL  file in QTEMP.   Using
QTEMP prevents a permanent file from  existing over the system file  in
QSYS.  The  fields in TAADBINP and  TAADBINL are identical and  use the
same names as the basic fields found in the QADBXREF system file.

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

No command exists.

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

None.

Security
--------

The  CL program adopts  the profile  of QSECOFR.   This is  required as
the QADBXREF file is not available to the public.

This  does not  provide authorization  to be able  to read  the data in
the QADBXREF file.

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

The following TAA Tools must be on your system:

     CPYTAA       TAA Archive

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

None, the tool is ready to use.

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

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

   TAADBINC      *PGM       CLP         TAADBINC      QATTCL
   TAADBINP      *FILE      PF          TAADBINP      QATTDDS
        No object           LF          TAADBINL      QATTDDS
					

Added to TAA Productivity tools March 1, 1998


Home Page Up to Top