:DATA

Script Statement: This is used to declare a script line explicitly as a DATA Line.

Syntax

:DATA Statement

Syntax

Description/Format

Statement

Command for the specific target system.
Format: script literal or script variable

Comment

DATA Lines contain commands for processing tasks for the target system.

All lines of the script, that are not commentary lines (commentary lines start with an exclamation mark) or contain script statements (which start with a colon), are usually regarded as DATA Lines. If for any reason a DATA Line starts with a colon or an exclamation mark, conflicts could arise. In this case, it is necessary to explicitly declare this line as a DATA Line by using the :DATA statement.

You can write the statement without quotation marks. In this case, all characters to the end of the line will be recognized. The script variables in the statement are replaced by their content.

DATA lines can only be used with objects of type "Job".

Examples

The script in this example, taken from a PC Batch File, defines a branch to a label where Error Handling will be done. As labels in a PC Batch File usually start with a colon, this line has to be explicitly declared by means of the :DATA statement.

!...
GOTO ERRORMESSAGE

!...

:
DATA ":ERRORMESSAGE"  
!...

See also:

Script Elements - Script Structure and Processing

About Scripts
Script Elements - Alphabetical Listing

Script Elements - Ordered by function