The DIALOG statement defines the dialog box that appears when the user
selects
Other Departments
. The DIALOG statement modifies the command string
so that the name of the department that is entered by the user is used to
change
deptxx
in the SAS program that is included. See
Printing a Program . The
first two TEXT statements specify text that appears in the dialog box. The
third TEXT statement specifies an input field. The name entered in this field
is substituted for the @1 in the DIALOG statement.
dialog prother 'end;pgm;include prt;c deptxx @1 all;submit';
text #1 @1 'Enter department name';
text #2 @3 'in the form DEPT99:';
text #2 @25 len=7;