Section
1, Task 1: Start IT Service Vision Action 1: Invoke the IT Service Vision server interface. |
|
You can start IT Service Vision in one step or in two steps. Use whichever method works best for you.
The command is:
itsv
where itsv refers to the file ITSV.BAT in your IT Service Vision misc directory. This file must be edited to point to the location of SAS on your system.
To start SAS and then start IT Service Vision, issue these commands:
Invoke SAS using the appropriate command for your system (see the installation documentation for the SAS System or contact your SAS system administrator).
Globals -> Options -> Command -> type CPE -> OK
%cpstart();
and then follow this path
Locals -> Submit
If you installed ITSV2 in a temporary directory (that is, not in the same directory that the SAS System is in), you need to specify the location of IT Service Vision when you start it. To do this, enter the cpe command from the SAS command line, specifying the temporary IT Service Vision directory for the ROOT location:
cpe root='temporary-directory' pdb='temporary-directory/pdb-pbx'
You can enter the cpe command in the SAS toolbox command area or after the Command===> prompt (obtained by clicking on Globals > Options > Command Line).
You can also start IT Service Vision from within SAS by submitting this statement from the PROGRAM EDITOR window:
%CPSTART( root='temporary-directory/', pdb='temporary-directory/pdb-pbx' );
To start IT Service Vision from your Windows desktop, click on Start > Programs > IT Service Vision > Start IT Service Vision. If you get the message:
Out of environment space
when you start IT Service Vision from your Windows desktop, you need to increase the amount of space allocated by DOS for environment variables for this process. From an Explorer window, locate the file sasmisc\itsv.bat in the directory in which you installed IT Service Vision. Click the right mouse button on the file and select Properties > Program. Click to check the box next to "Close on exit". Select the Memory tab and click on the down arrow next to "Initial environment". Select a large number (for example, 4096). Click on OK to apply the changes and follow the path described above.
From the IT Service Vision main window, select
Administration -> Site Options -> General -> select the down arrow on the Sitelib Access field -> WRITE -> OK
Note: Both the CPE command and the %cpstart macro invoke IT Service Vision.
If, in other tasks, you want to invoke IT Service Vision with parameters, create a file containing the %CPSTART macro with the desired parameters and start SAS by pointing to the file as follows (see the SAS System documentation for more information on using the -autoexec option):
sas -autoexec mypgm.sas
or start SAS and type statements in the body of the PROGRAM EDITOR window. Examples of these statements are:
%CPSTART( pdb='/tmp/pdb-test', siteacc=write );
%CPSTART( pdb='/tmp/pdb-test', access=write );
%CPSTART( pdb='/tmp/pdb-test', access=write, siteacc=write );
Then, from your PROGRAM EDITOR window, select Locals and Submit.