User Guide > Scripting
Was this helpful?
Scripting
 
EZscript Script Editor
Exploring EZscript File in Tab View
Exploring EZscript Expressions Window
Using Content Assist
Adding or Removing Bookmarks
EZscript Libraries
Using DJImport/DJExport Object Connection Wizard
Creating New DJImport or DJExport Object
Using Existing DJImport or DJExport Object
Writing Expressions
Basic Elements of an Expression
Scripting Keywords
Precedence in Evaluating Expressions
Commenting Out Code
Quotation Marks in Expressions
Specifying Field Names in Expressions
Continuing Lines in Expressions
Regular Expressions
Literal Values in Expressions
Using Scripts to Perform Specific Tasks
Parsing a Name Field Into Separate Fields
Parsing a Source Field by Character
Specifying Ranges in Expressions
Converting Dates
Using Masks to Convert Two-Digit Dates
Filtering by Date
Setting Up Picture Masks
Validating Data Types in Expressions
Calling External DLLs
Capturing Transformation Metadata
Handling Invalid Data
Retrieving Source and Target Metadata
Using DJRecord and DJField Objects to Access Metadata
Retrieving and Setting LogFile and LogMask Properties
Setting the Scope of Functions
Script Functions
Script Functions A-F
Script Functions G-M
Script Functions N-Z
Script Operators
Arithmetic Operators
Assignment (=) Operator
Comparison Operators
Concatenation (&) Operator
Logical Operators
Recognition Rule Operators
Script Statements
Using DJX to Create SQL Statements
Source Query Statement
Flow Control Statements
Option Runtime Statements
Run-Time Error Trapping Statements
Declare Statement
Dim Statement
Function Statement
Global Statement
Include Statement
Option Base Statement
ReDim Statement
Return Statement
Variables
Scoping Variables
Guidelines for Naming Variables
Variant Data Type
Array Variables
Clearing Variables and Array Elements
Managing Variables
Script Objects
Object Properties
Object Operators
Object Variables
DJRecord Object Type
DJField Object Type
DJImport and DJExport Object Types
DJRowSet Object Type
DOMDocument Object Type
DOMNode Object Type
DJComponent Object Type
DJMessage Object Type
Using a DJMessage Object with a Map
Using DJMessage and DJComponent Objects in Expressions
RFH Header Support: Websphere MQ
Java Objects in Scripts
Transformation Object
Project Object
Script Troubleshooting
Novice Troubleshooting Suggestions
Intermediate to Advanced Suggestions
Stack Overflow
Expression Tester Utility
Script Debugging
Debugging Prerequisites
Debug Toolbar and Menu Options
Debug Tab
Accessing EZscript Debugger
Adding and Removing Breakpoints
This topic provides information about EZscript which is a scripting language that allows you to write your own scripts and expressions to include with the processes and transformations. A script contains a code snippet. The scripting engine can directly evaluate the script to produce the required result.
Expressions are very similar to scripts, but are normally stored as part of one of the larger artifacts.
The following file extensions are supported:
.ezscript
.rifl (support provided for backward compatibility with v9 and v8)
.bas (support provided for backward compatibility with v9 and v8)
Last modified date: 12/03/2024