start Command

Invokes an operating system command to run in a separate process.

Scope: File

Syntax

Options

Command 
Any command that can be invoked from an operating system command line.

Description

The start executes the supplied command as a foreground PM application in a separate session. To execute the supplied command in the same session use the REXX address command from an Editor macro.

The following substitution variables are supported:

%FILENAME% 
Fully-qualified file name
%PROFILE% 
Profile name
%MARKEDTEXT% 
Selected text (on the first line of a text selection)

Example

To invoke a new program:

start visualage for java %filename% /l %profile%

API Return Codes

-1 
System error is encountered during the invocation of the specified command.
-2 
The %MARKEDTEXT% parameter is specified but there is no text selected in the current file.

submit Command