Previous ION Java User's Guide: ION Java Class and Method Reference Next

executeIDLCommand()

The executeIDLCommand() method sends an IDL command to the ION Server for execution. The function returns when the command is complete on the server.

Syntax

public int executeIDLCommand(String sCommand)

Return Value

The function returns 0 if the IDL command executed successfully, or the value of the IDL system variable !ERROR_STATE.CODE if the IDL command did not execute successfully.

Arguments

sCommand

The IDL Command that is to be executed on the IDL server. The use of the "$" IDL command (to open a shell or command window) and the line continuation character ($) are prohibited (for security reasons, and because they can hang the server).

Exceptions

IOException, IONIllegalCommandException, IONSecurityException

  IDL Online Help (March 06, 2007)