8 6 2 Valid Commands and Parameters

LANSA Deployment Tool

8.6.2 Valid Commands and Parameters

Command

Parameter(s)

Comments

ABORT

Message Text

Aborts execution showing the message specified.

ATTRIB

File Name

 

Attribute

Changes the attributes of the specified file.

Specify the attribute as +r or -r only.

CLOSE

None

Close the open output file.

COPY

From File

Copies the specified file.

To File

COPYGROUP

File Suffix

Copies a group of files by generic name and type to a target directory.

Target Directory

DEL

File Name

Deletes the specified file.

EXECFATAL

.EXE File Name

Execute the specified file with the specified parameters. This is the same as the EXECUTE command except that if an error occurs while running the application, it is counted as a fatal error. (EXECUTE counts it as a warning). Errors are either errors in launching the application such as 'File Not Found' or exit codes returned by the application. (For Windows platform details, refer to Microsoft documentation on the CreateProcess and GetExitCodeProcess functions.)

Parameters

EXECUTE

.EXE File Name

Execute the specified file with the specified parameters.

Parameters

FNEXTEXPR

File Name

As per NEXTEXPR, but import is forced with a question.

LAUNCH

Note: This command is reserved for system use.

Process Name

Starts a LANSA process and/or function executing.

Function Name

LAUNCHFORM

Note: This command is reserved for system use.

Form Name

Starts a LANSA form executing.

MD

Directory Name

Makes the specified directory.

MESSAGE

Message Text

Shows the specified message in the log.

NEXTEXPR

File Name

Queues up a subsequent import.

NOPARTWARN

None

Turns off different partition warning message.

Open

File Name

Opens the specified file for output.

QUESTIONn

Text of question

Asks a question to in a message box (n in range 1 to 9).

RD

Directory Name

Removes the specified directory.

ROLLSET

*YES

Sets a flag to roll sets of records when they are imported. Although implemented to support the default Web Pages, it may be used for other file types.

*NO

SCANREP

Note:  This command is reserved for system use.

Source Character

Converts characters in the imported data from the Source Character to the Target Character. The following special values are supported for the Target Character: *HASH_SIGN_CHAR, *AT_SIGN_CHAR, *DOLLAR_SIGN_CHAR.

Target Character

SYSTEM

System Command

Executes the specified system command.

USEPART

*SOURCE

Sets the partition to be the partition from which the export came.

*INITIAL

Sets the partition to be the initial partition specified by the user when starting the import.

*INITIAL is the default.

VLDATA

Note:  This command is reserved for system use.

*YES

Indicates that this data was exported from a Visual LANSA system. This is generated if necessary when using the Deployment Tool or the EXPORT_OBJECTS Built-In Function.

* NO is the default.

*NO

WRITE

Data

Writes the specified data to the output file.