Java

Java Unit Test Manager

SetOdtParam

Sets ODT parameter values
Quick Reference

Name

SetOdtParam Sets ODT parameter values

Synopsis

SetOdtParam parameter=value

[Top]

Description

Sets ODT parameter values in a shell script. The parameters deals with preventing the replay of the ODT for a given operating system, the maximum time allowed for the replay, the type of the ODT, and the user identifier assigned to the replay.

[Top]

Parameters

SetOdtParam accepts the following parameters:

Replay_osname Prevents to replay the ODT on the osname operating system. Valid values for osname are:
solaris_a Solaris
aix_a AIX
hpux_b HP_UX
intel_a Windows
Windows_NT Windows
Unix Solaris, AIX and HP-UX
The only possible value for Replay_osname is NO
Replay_jrename Prevents to replay the ODT on the jrename JavaRunTime Environment. Valid values for jrename are:
sunjre_a Solaris and Windows
ibmjre_a AIX
hpjre_a HP_UX
msjre_a Windows (Microsoft JRE)
The only possible value for Replay_osname is NO
max_time The maximum time allowed to an ODT to replay, expressed in minutes. The default max_time value is 5 minutes, and the maximum possible value is 60.
TYPE The ODT type. Can be set to
JAVABATCH The ODT is a java ODT
DataBase x
P1 x
P2P3 x
PERFO x
The xx
USER The user identifier to use to run the ODT.

[Top]

Examples

To prevent an ODT from running with Windows
SetOdtParam Replay_intel_a=NO
To run a java ODT with AIX only and
SetOdtParam TYPE=JAVABATCH
SetOdtParam Replay_Windows_NT=NO
SetOdtParam Replay_solaris_a=NO
SetOdtParam Replay_hpux_a=NO
To prevent an ODT from running with HP-UX and to not replay it with the Microsoft 'sJRE:
SetOdtParam TYPE=JAVABATCH
SetOdtParam Replay_msjre_a=NO
SetOdtParam Replay_hpux_b=NO

 

Environment Variables

SetOdtParam uses the following environment variables:

ADL_ODT_JRE describes the JRE used for the ODT ( if not defined, this variable will be set to a default value)

[Top]

Diagnostics

Possible exit status values are:

0 Successful completion
!=0 Failure

[Top]


History

Version: 1 [March 2001] Document created
[Top]

Copyright © 2000, Dassault Systèmes. All rights reserved.