#**********************************************************************#
#*                                                                    *#
#* 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 Oracle 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. verify that the password for the dba account "system" is "manager". 
   If not, update the jmvs/jobora JCL script with the appropriate 
   userid and password.



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

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

2. Set the following environment variables

     ORACLE_HOME         Oracle's home directory
     ORACLE_SID          Oracle System ID to connect to
     COBDIR              MF Cobol home directory

     For example:

       ORACLE_HOME=/usr/local/pkgs/oracle7;export ORACLE_HOME
       ORACLE_SID=decoracle;export ORACLE_SID
       COBDIR=/usr/lib/cmplrs/cob;export COBDIR

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

   For example type:

       $ Runtest /unikixrel/TEST/BATCH.1

     



Files:
-----------------------------------------------------------------------
Runtest                      : Test script
jmvs/jobora                  : MVS/JCL job
ACCTBTCH.bth                 : COBOL program
ACCTREC ACIXREC              : Copy files
createdemo.sql  dropdemo.sql : DDL's
actrec.ctl acctocrs.ctl      : 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.ora        : saved BATCH .install file
ish/jobora                   : BATCH job script
ACCTBTCH.int                 : COBOL Micro Focus .int program
InstalledRTSFS               : BATCH COBOL Runtime System directory

