#**********************************************************************#
#*                                                                    *#
#* Copyright (c) 2001 by Sun Microsystems, Inc.                       *#
#* All rights reserved.                                               *#
#*                                                                    *#
#**********************************************************************#



#
# The following is a test to verify that an installed BATCH node can execute
# a COBOL application program which accesses the Ingres RDBMS.
# In order to execute the COBOL application, this test will update the 
# BATCH node configuration.
# Upon succesfull or unsuccesfull termination, the test will restore the 
# original BATCH node configuration.
#

Requirements:
-------------------------------------------------------------------------
In order to run this test you must:

1. be the owner of the installed BATCH node

2. be a user with dba privileges to create and drop databases



Procedure:
-------------------------------------------------------------------------

1. Verify that the BATCH node and the Ingres RDBMS are active.

2. Set the following environment variables

     II_SYSTEM           Ingres base directory
     ING_SET             Ingres options
     COBDIR              MF Cobol home directory

     For example:

       II_SYSTEM=/usr/local/pkgs;export II_SYSTEM
       ING_SET="set lockmode session where readlock = nolock";export ING_SET
       COBDIR=/usr/local/pkgs/cobol;export COBDIR

3. Execute the Runtest script passing as argument the directory where
   the BATCH node is installed.

   For example type:

       $ Runtest /unikixrel/TEST/BATCH.1

     
Files:
-----------------------------------------------------------------------
Runtest                                : Test script
jmvs/jobing                            : MVS/JCL job
ACCTBTCH.bth                           : COBOL program
ACCTREC.scb ACIXREC.scb                : Copy files
createdemo.sql  dropdemo.sql grant.sql : DDL's
lactrec.sql lacctocrs.sql              : Data
actrec.dat acctocrs.dat                : Data
Makefile                               : input make file
ebmsetup.in                            : input BATCH subsystem setup file



Temporary files and directories:
------------------------------------------------------------------------
sysoutdir                              : BATCH $SYSOUT directory
formdir                                : BATCH $FORMS directory
ebmsetup                               : BATCH subsystem setup file
File_Map                               : BATCH File_Map file
$ROOTPSG/.install.ing                  : saved BATCH .install file
ish/jobing                             : BATCH job script
ACCTBTCH.int                           : COBOL Micro Focus .int program
InstalledRTSFS                         : BATCH COBOL Runtime System directory

