#**********************************************************************#
#*                                                                    *#
#* 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 Informix 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


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

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


2. Set the following environment variables

     INFORMIXDIR         Home directory of Informix
     INFORMIXSERVER      Informix Server name
     INFORMIXCOB         Cobol specific
     INFORMIXCOBSTORE    Storage Type would be word for this application
     INFORMIXCOBTYPE     Application type
     COBDIR              MF Cobol home directory

     For example:

       INFORMIXDIR=/usr/local/pkgs/informix;export INFORMIXDIR
       INFORMIXSERVER=inf7data;export INFORMIXSERVER
       INFORMIXCOB=cob;export INFORMIXCOB
       INFORMIXCOBTYPE=mf2;export INFORMIXCOBTYPE
       INFORMIXCOBSTORE=word;export INFORMIXCOBSTORE
       COBDIR=/usr/lib/cmplrs/cob;export COBDIR

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

   For example type:

       $ Runtest /unikixrel/TEST/BATCH1

     

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

