|
Across the Boards - Dialog Terminal Scripting
Dialog - More than Just NavigationWhile navigation is a major focus of Dialog, the Dialog script is capable of much more. It can be used to extract data from host applications, interact with the PC user, make decisions, perform computations, read and write data to files, and a variety of other things.A script can be written to move through a sequence of host application screens, search for line items matching some criteria, extract data from the "interesting" screens and write it to a file. Many shops require a user to periodically change his password. An application's logon process needs to handle this event. A Dialog script could prompt the user for the new password, or, alternatively, could inform the user of the condition, wait for the user to manually change his password, and then resume the logon process.
Scripting for unattended operation Often, applications access host data without the end user's knowledge. The end user neither knows, nor cares, that the data is stored on a mainframe. By completely automating the mainframe access process, the application reduces training and deployments costs, and increases ease of use.
XAPI and APPX Complex application logic or very intensive updating of terminal screens may call for some portions of the application to use XAPI directly. Even when it is better to use XAPI to perform multiple updates of a complex mainframe screen, Dialog should still be used for navigation between screens and for the signon/signoff process. When developing client/server applications with APPX, applications that use a terminal session to connect to the host still need to signon to the host to run the server application. Again, Dialog is the right tool for the job.
Ease of use during application development
|