Preparing an OS/390 Java client environment for OLT

To prepare an OS/390 Java client environment for OLT:

  1. Create the /jbo/jivp.sh file. The file should look like the following:
    export JVM_DEBUG=1
    export HOME=/tmp # this can be any existing, writable directory
    export IVB_DEBUG_ENABLED=1  # enable the OLT tools
    export data_ctrlport=5000 # OLT client controller port
    export data_ctrlhost=
    <client_controller_ip_address>
    # where <client_controller_ip_address> is the IP address of the workstation where you plan to run the OLT client controller
    export OTS_DEFAULT_TIMEOUT=28800  
    export OTS_MAXIMUM_TIMEOUT=28800  
    export CLASSPATH=
    /usr/lpp/java/J1.1/lib/classes.zip:
    /usr/lpp/CB390/lib/bboprogm.jar:
    /usr/lpp/CB390/lib/bborbrt.jar:
    /usr/lpp/CB390/lib/bboidlc.jar:
    /usr/lpp/CB390/samples/PolicyIVP/PolicyC.jar:
    /usr/lpp/CB390/samples/PolicyIVP/jcivp.jar:
    /PolicyC.jar:
    $CLASSPATH
     
    export LIBPATH=/lib:
    /usr/lpp/java/J1.1/lib/mvs/native_threads:
    /usr/lpp/CB390/lib:
    /jbo:
    $LIBPATH
     
    java jcivp commit   

     

  2. Ensure that you JCL looks like the following:
    //BBOIVPJ JOB
    //*
    // SET BBOLIB=BOSS.VICOM.&BOSSLVL
    //* SET LELIB='CEE'
    //* SET IVPPATH='/usr/lpp/CB390/samples/PolicyIVP'
    // SET IVPPATH=<path_to_jar_files>
    //*
    //IVP3A EXEC PGM=BPXBATCH,REGION=0M
    //STDIN DD PATH='&IVPPATH./jivp.sh',PATHOPTS=(ORDONLY)
    //STDOUT DD PATH='/tmp/jcivp.out',PATHOPTS=(OWRONLY,OCREAT),
    // PATHMODE=SIRWXU
    //STDERR DD PATH='/tmp/jcivp.err',PATHOPTS=(OWRONLY,OCREAT),
    // PATHMODE=SIRWXU
    //
    Where <path_to_jar_files> is the path to your application's JAR files. For example, the CB Policy Sample JAR files, PolicyC.jar and JPolicyS.jar are in /usr/lpp/CB390/samples/PolicyIVP, so the command in the JCL would be: 
    SET IVPPATH='/usr/lpp/CB390/samples/PolicyIVP'
  3. Submit your java client JCL.