TAA Tools
CHKPGMOIR       CHECK PROGRAM OIR                      TAALIBS

The Check Program  OIR command can be  useful when you have  or suspect
damage  in the OIR  (Object Information  Repository) that  prevents the
system DSPPGMREF command from operating correctly.

If  DSPPGMREF finds some form of  damage, it abnormally terminates with
very little information.   CHKPGMOIR can be  used to find the  programs
with  damage.    Re-creating  the  program will  normally  correct  the

A typical command would be entered as:

       CHKPGMOIR     LIB(xxxx)

An  outfile of  the  program objects  in the  library would  be created
using  DSPOBJD.   The  file  would  be  read  and  DSPPGMREF  would  be
attempted on  each program.   Errors  would be  monitored and a  report
prepared listing the programs that could not be accessed.

CHKPGMOIR is  a long running command and  should be submitted to batch.

Command parameters                                    *CMD

   LIB           The library to be checked.   A library or the  special
                 values  *LIBL,  *USRLIBL, *CURLIB,  *ALL,  or  *ALLUSR
                 may  be  entered.    You  must  have  *ALLOBJ  special
                 authority to use *ALL or *ALLUSR.


You  must have *ALLOBJ special authority to  use *ALL or *ALLUSR as the
library name.


The following TAA Tools must be on your system:

     CHKALLOBJ       Check all object
     EDTVAR          Edit variable
     RTVSYSVAL3      Retrieve system value 3
     SNDESCMSG       Send escape message
     SNDSTSMSG       Send status message
     SNDCOMPMSG      Send completion message


None, the tool is ready to use.

Objects used by the tool

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

   CHKPGMOIR     *CMD                   TAALIBS       QATTCMD
   TAALIBSC      *PGM       CLP         TAALIBSC      QATTCL
   TAALIBSR      *PGM       RPG         TAALIBSR      QATTRPG

Added to TAA Productivity tools May 1, 1996

Home Page Up to Top