Home > Contents > Index >  
Template Tag TOC  |   Alpha TOC  |   Tag Family TOC  |   Purpose TOC  |   Annotated TOC  |   Index 

 

SYSEXEC

Executes a system-dependent shell-level command.

Syntax

Parameters

CMD (required)
Shell-level command to execute.

SYSOUT (optional)
Variable name to contain the system output returns. If not set, these returns are unavailable. Specify SYSOUT and/or SYSERR arguments for this tag only if WAIT is true, otherwise, errno -14 is set.

SYSERR (optional)
Variable name to contain the system error returns. If not set, these returns are unavailable. Specify SYSOUT and/or SYSERR arguments for this tag only if WAIT is true, otherwise, errno -14 is set.

WAIT (optional)
Indicates whether to execute the command immediately or wait. Possible values are true or false. The default is false. You could create an infinite loop if you set this parameter to true for NT Command shell commands.

Error Numbers

The possible values of errno include:

Value
Description
-14
Process exception error.

Example

This example executes a Windows NT shell-level directory command on the value of Variables.testfile (replaced before the command executes).

Your code should check to see if the variables exist (contain data) before printing, for example:

See Also

CALLJAVA

   Home > Contents > Index >

Oracle XML Tag Reference
Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.