1<!--Copyright 1999,2008 Oracle. All rights reserved.--> 2<HTML> 3<HEAD> 4 <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> 5 <META NAME="GENERATOR" CONTENT="Mozilla/4.08 [en] (X11; I; FreeBSD 2.2.8-19990120-SNAP i386) [Netscape]"> 6</HEAD> 7<BODY> 8<HR WIDTH="100%"> 9<H2> 10<A NAME="Convenience Commands"></A>Convenience Commands</H2> 11The convenience commands are provided for ease of use with the DB test 12suite. 13<P><B>> berkdb rand</B> 14<P>This command will invoke the rand function and return the random number. 15<P> 16<HR WIDTH="100%"><B>> berkdb random_int <I>low high</I></B> 17<P>This command will invoke the rand function and return a number between 18<B><I>low</I></B> 19and <B><I>high</I></B>. 20<P> 21<HR WIDTH="100%"> 22<P><B>> berkdb srand <I>seed</I></B> 23<P>This command will invoke the srand function with the given <B><I>seed</I></B> 24and return 0. 25<P> 26<HR WIDTH="100%"> 27