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
Using a Data Entry Program . The
first two TEXT statements specify text that appears in the dialog box. The
third TEXT statement specifies an input field. The name that is entered in
this field is substituted for the @1 in the DIALOG statement.
dialog deother 'end;pgm;include de;c deptxx @1;submit';
text #1 @1 'Enter department name';
text #2 @3 'in the form DEPT99:';
text #2 @25 len=7;