Reference: |
Dialogue Manager is a part of the WebFOCUS language that allows you to control the flow of your application with the use of commands and variables. The following are some of the ways you can use Dialogue Manager:
The following table summarizes commands available in Dialogue Manager. For detailed information about these commands, see the individual topics for each command.
Command |
Description |
---|---|
-* |
Signals a comment. |
-? |
Displays the value of local variables. |
-CLOSE |
Closes an external file on z/OS opened for reading or writing. An external file is a sequential file in the file system of the operating system. |
-DEFAULT -DEFAULTS |
Sets a variable to an initial value. |
-DEFAULTH |
Sets a hidden variable to an initial value. |
-DOS |
Executes a DOS operating system command. |
-EXIT |
Executes stacked commands and terminates the procedure. |
-GOTO |
Transfers control to a label. |
-HTMLFORM |
Sends one or more reports to the browser. |
-IF |
Determines the execution flow of a procedure based on the evaluation of an expression. |
-INCLUDE |
Calls another Dialogue Manager procedure. |
-label |
Is the target of a -GOTO or -IF. |
-MVS |
In WebFOCUS, executes a z/OS operating system command. Only works with the RUN command. |
-PASS |
Issues and controls passwords. |
-QUIT |
Terminates the procedure without executing stacked commands. |
-QUIT FOCUS |
Terminates a procedure and exits FOCUS. |
-READ |
Reads data from an external file. |
-READFILE |
Reads a file by first reading its Master File and creating Dialogue Manager amper variables based on the ACTUAL formats for each field in the Master File. |
-REPEAT |
Executes a loop. |
-RUN |
Executes stacked commands. |
-SET |
Sets a variable to a literal value or to a value computed in an expression. |
-? SET parameter &myvar |
Captures the value of a settable parameter in &myvar. |
-TSO |
In WebFOCUS, executes a TSO operating system command. Only works with the RUN command. |
-TYPE |
Sends a message to a client application. |
-UNIX |
In WebFOCUS, executes a UNIX operating system command. |
-VMS |
In WebFOCUS, executes a VMS operating system command. |
-WINNT |
Executes a Windows operating system command. |
-WRITE |
Writes data to an external file. |