Table of Contents Previous Next PDF


Using Batch Runtime

Using Batch Runtime
Configuration files
The Configuration files are implemented in the directory CONF of the RunTime Batch.
BatchRT.conf
This file contains variables definition.
These variables must be set before using the RunTime Batch.
Messages.conf
This file contains messages used by RTBatch.
The messages may be translated in a local language.
FunctionReturnCode.conf
This file contains internal codes associated with a message.
ReturnCode.conf
This file contains return codes associated with a messageand returned to the KSH script.
Setting Environment Variables
Some variables (such as ORACLE_SID, COBDIR, LIBPATH, COBPATH …) are shared variables between different components and are not described in this current document. See The Rehosting Workbench Installation Guide.
Table 3‑1 lists the environment variables are used in the KSH scripts and must be defined before using the software.
Table 3‑2 lists the environment variables are used by Batch Runtime and must be defined before using the software.
Creating a Script
General Structure of a Script
Oracle Tuxedo Application Runtime for Batch normalizes Korn shell script formats by proposing a script model where the different execution phases of a job are clearly identified.
Oracle Tuxedo Application Runtime for Batch scripts respect a specific format that allows the definition and the chaining of the different phases of the KSH (JOB).
Within Batch Runtime, a phase corresponds to an activity or a step on the source system.
A phase is identified by a label and delimited by the next phase.
At the end of each phase, the JUMP_LABEL variable is updated to give the label of the next phase to be executed.
In the following example, the last functional phase sets JUMP_LABEL to JOBEND: this label allows a normal termination of the job (exits from the phase loop).
The mandatory parts of the script (the beginning and end parts) are shown in bold and the functional part of the script (the middle part) in normal style as shown in Table 3‑3. The optional part of the script must contain the labels, branching and end of steps as described below. The items of the script to be modified are shown in italics.
 
Table 3‑3 Script Structure
m_JobBegin -j JOBNAME -s START -v 2.00
(PENULTIMATESTEP)
For the label, which must point to END_JOB. The _ is necessary, because the character is forbidden on z/OS.
Script Example
Listing 3‑1 shows a Korn shell script example.
Listing 3‑1 Korn shell Script Example
#!/bin/ksh
#@(#)--------------------------------------------------------------
#@(#)-
m_JobBegin -j METAW01D -s START -v 1.00 -c A
while true ;
do
m_PhaseBegin
case ${CURRENT_LABEL} in
(START)
# -----------------------------------------------------------------
# 1) 1st Step: DELVCUST
# Delete the existing file.
# 2) 2nd Step: DEFVCUST
# Allocates the Simple Sample Application VSAM customers file
# -----------------------------------------------------------------
#
# -Step 1: Delete...
JUMP_LABEL=DELVCUST
;;
(DELVCUST)
m_FileAssign -d OLD FDEL ${DATA}/METAW00.VSAM.CUSTOMER
m_FileDelete ${DD_FDEL}
m_RcSet 0
#
# -Step 2: Define...
JUMP_LABEL=DEFVCUST
;;
(DEFVCUST)
# IDCAMS DEFINE CLUSTER IDX
m_FileBuild -t IDX -r 266 -k 1+6 ${DATA}/METAW00.VSAM.CUSTOMER
JUMP_LABEL=ENDJOB
;;
(ABORT)
break
;;
(ENDJOB)
break
;;
(*)
m_RcSet ${MT_RC_ABORT} "Unknown label : ${JUMP_LABEL}"
break
;;
esac
m_PhaseEnd
done
m_JobEnd
#@(#)--------------------------------------------------------------
 
Defining and Using Symbols
Symbols are internal script variables that allow script statements to be easily modifiable. A value is assigned to a symbol through the m_SymbolSet function as shown in Listing 3‑2. To use a symbol, use the following syntax: $[symbol]
Note:
Listing 3‑2 Symbol Use Examples
(STEP00)
m_SymbolSet VAR=40
JUMP_LABEL=STEP01
;;
(STEP01)
m_FileAssign -d SHR FILE01 ${DATA}/PJ01DDD.BT.QSAM.KBSTO0$[VAR]
m_ProgramExec BAI001
 
Creating a Step That Executes a Program
A step (also called a phase) is generally a coherent set of calls to Batch Runtime functions that enables the execution of a functional (or technical) activity.
The most frequent steps are those that execute an application or utility program. These kind of steps are generally composed of one or several file assignment operations followed by the execution of the desired program. All the file assignments operations must precede the program execution operation shown in Listing 3‑3
Listing 3‑3 Application Program Execution Step Example
(STEPPR15)
m_FileAssign -d SHR INFIL ${DATA}/PJ01DDD.BT.QSAM.KBPRO099
m_FileAssign -d MOD OUTFIL ${DATA}/PJ01DDD.BT.QSAM.KBPRO001
m_OutputAssign -c “*” SYSOUT
m_FileAssign -i LOGIN
IN-STREAM DATA
_end
m_FileAssign -d MOD LOGOUT ${DATA}/PJ01DDD.BT.QSAM.KBPRO091
m_ProgramExec BPRAB001 "20071120"
JUMP_LABEL=END_JOB
;;
 
Creating a Procedure
Oracle Tuxedo Application Runtime for Batch offers a set of functions to define and use "procedures". These procedures follow generally the same principles as z/OS JCL procedures.
The advantages of procedures are:
Procedures can be of two types:
Creating an In-Stream Procedure
Unlike the z/OS JCL convention, an in-stream procedure must be written after the end of the main JOB, that is: all the in-stream procedures belonging to a job must appear after the call to the function m_JobEnd.
An in-stream procedure in a Korn shell script always starts with a call to the m_ProcBegin function, followed by all the tasks composing the procedure and terminating with a call to the m_ProcEnd function. Listing 3‑4 is an example.
Listing 3‑4 In-stream Procedure Example
m_ProcBegin PROCA
JUMP_LABEL=STEPA
;;
(STEPA)
m_FileAssign -c “*” SYSPRINT
m_FileAssign -d SHR SYSUT1 ${DATA}/PJ01DDD.BT.DATA.PDSA/BIEAM00$[SEQ]
m_FileAssign -d MOD SYSUT2 ${DATA}/PJ01DDD.BT.QSAM.KBIEO005
m_FileLoad ${DD_SYSUT1} ${DD_SYSUT2}
JUMP_LABEL=ENDPROC
;;
(ENDPROC)
m_ProcEnd
 
Creating an External Procedure
External procedures do not require the use of the m_ProcBegin and m_ProcEnd functions; simply code the tasks that are part of the procedure shown in Listing 3‑5
In order to simplify the integration of a procedure’s code with the calling job, always begin a procedure with:
JUMP_LABEL=FIRSTSTEP
;;
(FIRSTSTEP)
and end it with:
JUMP_LABEL=ENDPROC
;;
(ENDPROC)
Listing 3‑5 External Procedure Example
JUMP_LABEL=PR2STEP1
;;
(PR2STEP1)
m_FileAssign -d SHR INFIL ${DATA}/PJ01DDD.BT.QSAM.KBPRI001
m_FileAssign -d MOD OUTFIL ${DATA}/PJ01DDD.BT.QSAM.KBPRO001
m_OutputAssign -c “*” SYSOUT
m_FileAssign -d SHR LOGIN ${DATA}/PJ01DDD.BT.SYSIN.SRC/BPRAS002
m_FileAssign -d MOD LOGOUT ${DATA}/PJ01DDD.BT.QSAM.KBPRO091
m_ProgramExec BPRAB002
JUMP_LABEL=ENDPROC
;;
(ENDPROC)
 
Using a Procedure
The use of a procedure inside a Korn shell script is made through a call to the m_ProcInclude function.
As described in Script Execution Phases, during the Conversion Phase, a Korn shell script is expanded by including the procedure's code each time a call to the m_ProcInclude function is encountered. It is necessary that after this operation, the resulting expanded Korn shell script still respects the rules of the general structure of a script as defined in the General Structure of a Script.
A procedure, either in-stream or external, can be used in any place inside a calling job provided that the above principals are respected shown in Listing 3‑6
Listing 3‑6 Call to the m_ProcInclude Function Example
(STEPPR14)
m_ProcInclude BPRAP009
JUMP_LABEL=STEPPR15
 
Modifying a Procedure at Execution Time
The execution of the tasks defined in a procedure can be modified in two different ways:
Listing 3‑7 and Listing 3‑8 are examples.
Listing 3‑7 Defining Procedure Example
m_ProcBegin PROCE
JUMP_LABEL=STEPE
;;
(STEPE)
m_FileAssign -d SHR SYSUT1 ${DATA}/DATA.IN.PDS/DTS$[SEQ]
m_FileAssign -d MOD SYSUT2 ${DATA}/DATA.OUT.PDS/DTS$[SEQ]
m_FileLoad ${DD_SYSUT1} ${DD_SYSUT2}
JUMP_LABEL=ENDPROC
;;
(ENDPROC)
m_ProcEnd
 
Listing 3‑8 Calling Procedure Example
(COPIERE)
m_ProcInclude PROCE SEQ="1"
JUMP_LABEL=COPIERF
;;
 
Using Overrides for File Assignments
As specified in Best Practices, this way of coding procedures is provided mainly for supporting Korn shell scripts resulting from z/OS JCL translation and it is not recommended for Korn shell scripts newly written for the target platform.
The overriding of a file assignment is made using the m_FileOverride function that specifies a replacement for the assignment present in the procedure. The call to the m_FileOverride function must follow the call to the procedure in the calling script.
Listing 3‑9 shows how to replace the assignment of the logical file SYSUT1 using the m_FileOverride function.
Listing 3‑9 m_FileOverride Function Example
m_ProcBegin PROCE
JUMP_LABEL=STEPE
;;
(STEPE)
m_FileAssign -d SHR SYSUT1 ${DATA}/DATA.IN.PDS/DTS$[SEQ]
m_FileAssign -d MOD SYSUT2 ${DATA}/DATA.OUT.PDS/DTS$[SEQ]
m_FileLoad ${DD_SYSUT1} ${DD_SYSUT2}
JUMP_LABEL=ENDPROC
;;
(ENDPROC)
m_ProcEnd
 
Listing 3‑10 m_FileOverride Procedure Call:
(COPIERE)
m_ProcInclude PROCE SEQ="1"
m_FileOverride -i -s STEPE SYSUT1
Overriding test data
_end
JUMP_LABEL=COPIERF
;;
 
Controlling a Script's Behavior
Conditioning the Execution of a Step
Using m_CondIf, m_CondElse, and m_CondEndif
The m_CondIf, m_CondElse and m_CondEndif functions can be used to condition the execution of one or several steps in a script. The behavior is similar to the z/OS JCL statement constructs IF, THEN, ELSE and ENDIF.
The m_CondIf function must always have a relational expression as a parameter as shown in Listing 3‑11. These functions can be nested up to 15 times.
Listing 3‑11 m_CondIf, m_CondElse, and m_CondEndif Example
(STEPIF01)
m_FileAssign -d SHR INFIL ${DATA}/PJ01DDD.BT.QSAM.KBIF000
m_FileAssign -d MOD OUTFIL ${DATA}/PJ01DDD.BT.QSAM.KBIF001
m_ProgramExec BAX001
m_CondIf "STEPIF01.RC,LT,5"
JUMP_LABEL=STEPIF02
;;
(STEPIF02)
m_FileAssign -d SHR INFIL ${DATA}/PJ01DDD.BT.QSAM.KBIF001
m_FileAssign -d MOD OUTFIL ${DATA}/PJ01DDD.BT.QSAM.KBIF002
m_ProgramExec BAX002
m_CondElse
JUMP_LABEL=STEPIF03
;;
(STEPIF03)
m_FileAssign -d SHR INFIL ${DATA}/PJ01DDD.BT.QSAM.KBIF000
m_FileAssign -d MOD OUTFIL ${DATA}/PJ01DDD.BT.QSAM.KBIF003
m_ProgramExec BAX003
m_CondEndif
 
Using m_CondExec
The m_CondExec function is used to condition the execution of a step. The m_CondExec must have at least one condition as a parameter and can have several conditions at the same time. In case of multiple conditions, the step is executed only if all the conditions are satisfied.
A condition can be of three forms:
m_CondExec 4,LT,STEPEC01
m_CondExec EVEN
m_CondExec ONLY
The m_CondExec function must be the first function to be called inside the concerned step as shown in Listing 3‑12.
Listing 3‑12 m_CondExec Example with Multiple Conditions
(STEPEC01)
m_FileAssign -d SHR INFIL ${DATA}/PJ01DDD.BT.QSAM.KBIF000
m_FileAssign -d MOD OUTFIL ${DATA}/PJ01DDD.BT.QSAM.KBIF001
m_ProgramExec BACC01
JUMP_LABEL=STEPEC02
;;
(STEPEC02)
m_FileAssign -d SHR INFIL ${DATA}/PJ01DDD.BT.QSAM.KBIF001
m_FileAssign -d MOD OUTFIL ${DATA}/PJ01DDD.BT.QSAM.KBIF002
m_ProgramExec BACC02
JUMP_LABEL=STEPEC03
;;
(STEPEC03)
m_CondExec 4,LT,STEPEC01 8,GT,STEPEC02 EVEN
m_FileAssign -d SHR INFIL ${DATA}/PJ01DDD.BT.QSAM.KBIF000
m_FileAssign -d MOD OUTFIL ${DATA}/PJ01DDD.BT.QSAM.KBIF003
 
Controlling the Execution Flow
The script's execution flow is determined, and can be controlled, in the following ways:
The start label specified by the m_JobBegin function: this label is usually the first label in the script, but can be changed to any label present in the script if the user wants to start the script execution from a specific step.
The value assigned to the JUMP_LABEL variable in each step: this assignment is mandatory in each step, but its value is not necessarily the label of the following step.
The usage of the m_CondExec, m_CondIf, m_CondElse and m_CondEnd functions: see Conditioning the Execution of a Step.
Changing Default Error Messages
If Batch Runtime administrator wishes to change the default messages (to change the language for example), this can be done through a configuration file whose path is specified by the environment variable: MT_DISPLAY_MESSAGE_FILE.
This file is a CSV (comma separated values) file with a semicolon as a separator. Each record in this file describes a certain message and is composed of 6 fields:
1.
2.
3.
4.
5.
6.
Using Files
Creating a File Definition
Files are created using the m_FileBuild or the m_FileAssign function.
Four file organizations are supported:
You must specify the file organization for the file being created. For indexed files, the length and the primary key specifications must also be mentioned.
m_FileBuild Examples
m_FileBuild -t LSEQ ${DATA}/PJ01DDD.BT.VSAM.ESDS.KBIDO004
m_FileBuild -t IDX -r 266 -k 1+6 ${DATA}/METAW00.VSAM.CUSTOMER
m_FileAssign examples
m_FileAssign -d NEW -t SEQ -r 80 ${DATA}/PJ01DDD.BT.VSAM.ESDS.KBIDO005
Assigning and Using Files
When using Batch Runtime, a file can be used either by a Batch Runtime function (for example: m_FileSort, m_FileRename etc.) or a by a program, such as a COBOL program.
In both cases, before being used, a file must first be assigned. Files are assigned using the m_FileAssign function that:
The environment variable defined via the m_FileAssign function is named: DD_IFN. This naming convention is due to the fact that it is the one used by Micro Focus Cobol to map internal file names to external file names.
Once a file is assigned, it can be passed as an argument to any of Batch Runtime functions handling files by using the ${DD_IFN} variable.
For COBOL programs, the link is made implicitly by Micro Focus Cobol.
Listing 3‑13 Example of File Assignment
(STEPCP01)
m_FileAssign -d SHR INFIL ${DATA}/PJ01DDD.BT.QSAM.KBIDI001
m_FileAssign -d SHR OUTFIL ${DATA}/PJ01DDD.BT.VSAM.KBIDU001
m_FileLoad ${DD_INFIL} ${DD_OUTFIL}
 
Listing 3‑14 Example of Using a File by a COBOL Program
(STEPCBL1)
m_FileAssign -d OLD INFIL ${DATA}/PJ01DDD.BT.QSAM.KBIFI091
m_FileAssign -d MOD OUTFIL ${DATA}/PJ01DDD.BT.QSAM.KBIFO091
m_ProgramExec BIFAB090
 
Using a Generation File (GDG)
In order to reproduce the notion of generation files, present on the z/OS mainframe, but which is not a UNIX standard, Batch Runtime provides a set of functions to handle this type of file.
Defining a Generation File
A GDG (generation data group) file is defined through the m_GenDefine function. The only parameter to be specified is the maximum number of versions to keep on the disk:
m_GenDefine -s 31 ${DATA}/PJ01DDD.BT.GDG
Note: the function m_GenDefine is not mandatory to define a GDG file. As shown in Listing 3‑15, the GDG file will be created with a limit of 9999.
Listing 3‑15 Example of using a generation file:
(STEP03)
m_FileAssign -d SHR SYSUT1 ${DATA}/PJ01DDD.BT.FILE1
m_FileAssign -d NEW,CATLG -g +1 SYSUT2 ${DATA}/PJ01DDD.BT.GDG
m_FileRepro -i SYSUT1 -o SYSUT2
 
Using a Generation File
The m_FileAssign function has a special parameter (-g) that serves to specify that the file being assigned is a generation file and to set the desired version of the file as shown in Listing 3‑16.
Listing 3‑16 Example of Using a Generation File:
(STEPDD05)
m_FileAssign -d SHR -g +1 INFIL ${DATA}/PJ01DDD.BT.GDG
m_FileAssign -d MOD OUTFIL ${DATA}/PJ01DDD.BT.QSAM.KBDDO002
m_ProgramExec BDDAB001
 
Adressing a Generation Group
The m_FileAssign function may be used to address all the generations of a GDG.
As shown in Listing 3‑17, the SORT function envolves all generations of the GDG file named AP.GDG.
Listing 3‑17 GDG File Example
(PT0010)
m_FileAssign -d SHR SORTIN ${DATA}/APP.GDG
m_FileAssign -d NEW,CATLG,DELETE SORTOUT ${DATA}/AP.GDG.SORT
m_FileAssign -i SYSIN
SORT FIELDS=COPY
_end
m_FileSort -s SYSIN -i SORTIN -o SORTOUT
 
Using an In-Stream File
To define and use a file whose data is written directly inside the Korn shell script, use the m_FileAssign function with the -i parameter. By default the string _end is the “end” delimiter of the in-stream flow as shown in Listing 3‑18.
Listing 3‑18 In-stream Data Example
(STEP1)
m_FileAssign -i INFIL
data record 1
data record 2
_end
 
 
Using a Set of Concatenated Files
To use a set of files as a concatenated input (which in z/Os JCL was coded as a DD card, where only the first one contains a label), use the m_FileAssign function with the -C parameter as shown in Listing 3‑19.
Listing 3‑19 Using a Concatenated Set of Files Example
(STEPDD02)
m_FileAssign -d SHR INF ${DATA}/PJ01DDD.BT.QSAM.KBDDI002
m_FileAssign -d SHR -C ${DATA}/PJ01DDD.BT.QSAM.KBDDI001
m_ProgramExec BDDAB001
 
Using an External “sysin”
To use an “external sysin” file which contains commands to be executed, use the m_UtilityExec function.
m_FileAssign -d NEW SYSIN ${SYSIN}/SYSIN/MUEX07
m_UtilityExec
Deleting a File
Files (including generation files) can be deleted using the m_FileDelete function:
m_FileDelete ${DATA}/PJ01DDD.BT.QSAM.KBSTO045
RDB Files
In a migration project from z/Os to UNIX/Linux, some permanent data files may be converted to relational tables. See the File-to-Oracle chapter of the Oracle Tuxedo Application Runtime Workbench.
When a file is converted to a relational table, this change has an impact on the components that use it. Specifically, when such a file is used in a z/Os JCL, the converted Korn shell script corresponding to that JCL should be able to handle operations that involve this file.
In order to keep the translated Korn shell script as standard as possible, this change is not handled in the translation process. Instead, all the management of this type of file is performed at execution time within Batch Runtime.
In other words, if in the z/OS JCL there was a file copy operation involving the converted file, this is translated to a standard copy operation for files in Batch Runtime, in other words an m_FileLoad operation).
The management of a file converted to a table is made possible through an RDB file. An RDB file is a file that has the same name as the file that is converted to a table but with an additional suffix:.rdb.
Each time a file-related function is executed by Batch Runtime, it checks whether the files were converted to table (through testing the presence of a corresponding .rdb file). If one of the files concerned have been converted to a table, then the function operates the required intermediate operations (such as: unloading and reloading the table to a file) before performing the final action.
All of this management is transparent to the end-user.
Using an RDBMS Connection
When executing an application program that needs to connect to the RDBMS, the -b option must be used when calling the m_ProgramExec function.
Connection and disconnection (as well as the commit and rollback operations) are handled implicitly by Batch Runtime and can be defined using the following two methods:
Set the environment variable MT_DB_LOGIN before booting the TuxJES system.
Note:
The MT_DB_LOGIN value must use the following form: dbuser/dbpasswd[@ssid]or “/”.
Note:
"/" should be used when the RDBMS is configured to allow the use of UNIX authentication and not RDBMS authentication, for the database connexion user.
Please check with the database administrator whether "/" should be used or not.
The -b option must also be used if the main program executed does not directly use the RDBMS but one of its subsequent sub-programs does as shown in Listing 3‑20.
Listing 3‑20 RDBMS Connection Example
(STEPDD02)
m_FileAssign -d MOD OUTF ${DATA}/PJ01DDD.BT.QSAM.REPO001
m_ProgramExec -b DBREP001
 
The m_ProgramExec function may submit three types of executable files (Cobol executable, command language script, or C executable). It launchs the runb program. We have provided the runb for $ARTDIR/Batch_RT/ejr_mf_ora (on Linux) and ejr_ora (other platforms). If you use neither Microfocus COBOL compiler nor Oracle Database, go to $ARTDIR/Batch_RT/ejr and run "make.sh" to generate your required runb.
The runb program, runtime compiled with database librairies, runs the runbatch program.
The runbatch program, is in charge to:
- do the connection to the database (if necessary)
- run the user program
- do the commit or rollback (if necessary)
- do the disconnection from the database (if necessary)
Submitting a Job using INTRDR facility
The INTRDR facility allows you to submit the contents of a sysout to TuxJES (see the TuxJES documentation). If TuxJES is not present, a command “nohup EJR” is used.
Example:
m_FileAssign -d SHR SYSUT1 ${DATA}/MTWART.JCL.INFO
m_OutputAssign -w INTRDR SYSUT2
m_FileRepro -i SYSUT1 -o SYSUT2
The contents of the file ${DATA}/MTWART.JCL.INFO (ddname SYSUT1) is copied into the file which ddname is SYSUT2 and using the option “-w INTRDR” is submitted.
Note that the ouput file must contain valid ksh syntax.
Submitting a Job With EJR
When using Batch Runtime, TuxJES can be used to launch jobs (see the TuxJES documentation), but a job can also be executed directly using the EJR spawner.
Before performing this type of execution, ensure that the entire context is correctly set. This includes environment variables and directories required by Batch Runtime.
Example of launching a job with EJR:
# EJR DEFVCUST.ksh
For a complete description of the EJR spawner, please refer to the Oracle Tuxedo Application Runtime for Batch Reference Guide.
LOG File Structure
For each launched job, Batch Runtime produces a log file containing information for each step (phase) that was executed. This log file has the following structure: as shown in Listing 3‑21.
Listing 3‑21 Log File Example
JOB Jobname BEGIN AT 20091212/22/09 120445
BEGIN PHASE Phase1
Log produced for Phase1
.......
.......
.......
END PHASE Phase1 (RC=Xnnnn, JOBRC=Xnnnn)
BEGIN PHASE Phase2
Log produced for Phase2
.......
.......
.......
END PHASE Phase2 (RC=Xnnnn, JOBRC=Xnnnn)
..........
..........
BEGIN PHASE END_JOB
..........
END PHASE END_JOB (RC=Xnnnn, JOBRC=Xnnnn)
 
JOB ENDED WITH CODE (C0000})
Or
JOB ENDED ABNORMALLY WITH CODE (S990})
 
When not using TuxJes, the log file is created under the ${MT_LOG} directory with the following name: <Job name>_<TimeStamp>_<Job id>.log
For more information, see Using Tuxedo Job Enqueueing Service (TuxJES).
Using Batch Runtime With a Job Scheduler
Entry points are provided in some functions (m_JobBegin, m_JobEnd, m_PhaseBegin, m_PhaseEnd) in order to insert specific actions to be made in relation with the selected Job Scheduler.
Executing an SQL request
A SQL request may be executed using the function m_ExecSQL.
Depending on the target database, the function executes a “sqlplus” command with ORACLE database, or a “db2 -tsx” command with UDB.
Note that the environment variable MT_DB_LOGIN must be set (database connection user login).
The SYSIN file must contain the SQL requests and the user has to verify the contents regarding the database target.

Copyright © 1994, 2017, Oracle and/or its affiliates. All rights reserved.