:DATA

Use the :DATA script statement to explicitly declare a script line as a DATA line. Data lines are Job Control Language (JCL) lines in your scripts. Data lines contain commands for processing tasks in target systems. All script lines that are not comment lines, and do not contain script statements, are regarded as data lines.

Important! Conflicts can arise if you start a data line with a colon or exclamation mark. Always declare such data lines explicitly by using the :DATA statement.

Syntax

:DATA Statement

Parameters

Notes:

Example

The following example is a script from a PC batch file. The script defines a branch to a label where error handling is carried out. Labels in PC batch files usually start with a colon. To avoid conflicts, this line is explicitly declared with a :DATA statement.

!...
GOTO ERRORMESSAGE

!...

:
DATA ":ERRORMESSAGE"  
!...

See also: