User Guide > Getting Started: UNIX > Starting PV-WAVE
  

Starting PV-WAVE
Before running PV‑WAVE, the wvsetup command (UNIX) must have been executed one time after installation. These commands are described in detail in your installation guide.
Starting PV-WAVE Interactively
To start PV‑WAVE, at the operating system (OS) prompt type the following:
wave
or to start 64-bit PV‑WAVE type the following:
wave -64
and press <Return>. The PV‑WAVE prompt appears.
WAVE>
This is a mode where you can interactively enter commands at the WAVE> prompt. If you see an error and PV‑WAVE does not start, refer to your installation guide for troubleshooting information.
 
note
For UNIX users, if you set the WAVE64 environment variable to 1, the "-64" flag will not be necessary to start 64-bit PV-WAVE.
 
note
You can create a startup message using the message of the day (motd) file. Refer to Message of the Day File for more information.
 
 
note
For UNIX users, if you use a Korn shell note the following: If you use either set -o nounset or set -u in your shell, entering the wave command without a parameter causes an error. These ksh commands tell the shell to treat unset parameters as an error when substituting. After running wvsetup.sh, PV‑WAVE expects $* to contain the parameters to the wave call. Since set -u or set -o nounset tell ksh to treat unset parameters as an error, calling PV‑WAVE without parameters will cause that error.
Executing a Command (Batch) File at Startup
A command file, or “batch file”, is a file that contains PV‑WAVE commands. When a command file is executed, each command in the file is executed. When the end of the file is reached, control reverts to the interactive mode, that is, the WAVE> prompt is displayed, and you can type commands from the keyboard. You may call the EXIT procedure from within the command file to exit PV‑WAVE and return to the operating system prompt.
You can execute a command file directly at startup by entering the following at the operating system prompt:
wave filename
 
note
The filename must be a correctly constructed command file. It cannot be a PV‑WAVE procedure file. Command files are explained in more detail in the PV‑WAVE Programmer’s Guide.
You can set the environment variable WAVE_STARTUP to execute a command file when you enter the command that starts PV‑WAVE. See the PV‑WAVE Programmer’s Guide for more information.

Version 2017.0
Copyright © 2017, Rogue Wave Software, Inc. All Rights Reserved.