3. Statements : OpenROAD Language Statements : Call System Statement
 
Share this page                  
Call System Statement
This statement calls the operating system.
This statement has the following syntax:
call system [systemcommand];
The call system statement calls the operating system from an application. When control returns to the application, execution resumes with the statement immediately following the call system statement. The call system statement can return status information to the application (see the SessionObject class attribute CallSystemStatus (see CallSystemStatus Attribute)).
When the called application blocks the calling application, there is no direct communication method between the OpenROAD application and the called application. For indirect communication, you can write out files that can be read by the other application or put data in the database that can be read in by the other application.
Although you can use the call system statement to start a second application, you can start a new OpenROAD application more efficiently by using the call runimage statement.
See the call statement (see Call Statement) for information about using the call runimage statement.