Automate multi-step tasks with SEQUEL scripting!
Can you answer your business question in a single pass, or does it take multiple steps? Do your users know the necessary steps and proper sequence to get the desired result? Are you writing sophisticated nested queries to obtain answers or, worse, writing complex programs? Do users have to supply parameters before executing a query?
SEQUEL ViewPoint scripting is the solution you've been looking for. SEQUEL scripts provide the ability to combine several commands into a single job stream that can even include variables, if required. If multiple commands or SEQUEL objects within the script contain a variable prompt, all substitutions can be completely self-contained in the single script definition. This allows the user to see only one prompt for all variables, which are then passed to the various command strings as necessary. This can be especially useful for month-end reporting requirements when the same date range must be passed to several reports during execution.
SEQUEL's scripting function is extremely powerful because business users can launch a script from an icon or shortcut on their desktop or network, from a Web browser, or from inside a SEQUEL dashboard. Imagine using just a single mouse click instead of wading through a series of icons. You can eliminate performing multiple manual steps or having to write several Control Language (CL) programs. Additionally, scripts aren't limited to just SEQUEL commands. You can incorporate most commands, and even source from CL, into a script.
Figure 1 shows an example of a simple, yet powerful, script that ranks customers based on the amount due. This short procedure produces a temporary result set before being asked to return the top x number of customers.
Figure 1: The SEQUEL Script Design screen.
You create script definitions by using an interactive graphical script editor or by importing commands from a CL source member. The script editor allows you to create, change, or view your script definition. You have a number of choices to define and change the script using a combination of direct entry, command prompting, pull-down menus, and toolbar functions. With the script editor, you can even test the script by running it one step at a time while you continue to work on it. In addition, the final code result requires no compile step.
If you need a solution that requires a sophisticated job with several steps, take a look at SEQUEL scripts. Scripts help you automate a series of commands or create multiple-step job streams to complete complex tasks very easily. A SEQUEL script gives you much of the capability of CL without needing any technical programming knowledge. SEQUEL's latest enhanced scripting features let you add powerful CL-like programming structures, including loops, internal variables, conditional logic, and error monitoring to your SEQUEL scripts. Try SEQUEL free for 30 days.
LATEST COMMENTS
MC Press Online