Understanding scripts
Choosing Main file opens the main script in the editing area. Each script file contains transformation instructions. To create these instructions you use the following options:
*New
Create a new instruction. When you choose New to create a new transformation instruction, the list of instructions appears, as shown in Figure 5‑5. You select an instruction from the list, and provide the appropriate parameters for the instruction.
Figure 5‑5 Transformation instructions
Depending on their purpose, the transformation instructions are grouped in three categories:
*Instructions for creating new columns
*Instructions for managing data objects
*Miscellaneous instructions
For more information on the transformation instructions, see Using BIRT Analytics.
*Duplicate
Create a new instruction based on an existing one.
*Remove
Remove an instruction.
*Enable
Enable an instruction for execution.
*Disable
Mark an instruction as not executable. You can use this to include comments in the script.
*Up arrow
Move an instruction up in the script
*Down arrow
Move an instruction down in the script
*Search
Enables a search for an instruction
You can copy, paste, and delete instructions using the shortcut keys described in Table 5‑1.