The application domain SDF has been selected in temporarily guided dialog. This setting is retained after execution of the MODIFY-SDF-OPTIONS command. Consequently, SDF resumes the dialog by displaying the command menu for the application domain SDF.
Figure 24: Command menu for the application domain SDF
Entering “(file)” in the NEXT line changes the application domain setting. From now on the application domain FILE is set.
SDF displays the command menu for the application domain FILE.
Figure 25: Command menu for the application domain FILE
As the NEXT line is already preset with “+”, sending off the screen (
key) causes the next page of the command menu to be output.Figure 26: Command menu for the application domain FILE
“46” causes the operand form for the SHOW-FILE-ATTRIBUTES command to be displayed.
SDF outputs the operand form for the SHOW-FILE-ATTRIBUTES command. The form is preset with the default values of the optional operands FILE-NAME, INFORMATION, SELECT and OUTPUT.
Figure 27: Operand form for the SHOW-FILE-ATTRIBUTES command
By mistake, the value of the FILE-NAME operand is given as “test,example.” (comma instead of period). Additional information on the SELECT operand is called up by entering “?”. The rest of the line, “ALL”, need in this case not be deleted. The specification in the NEXT line controls what happens when the screen is sent off (
key). The default value *CONTINUE stands for *EXECUTE or +, and in this case causes SDF to display the operand form for the SHOW-FILE-ATTRIBUTES command with an explanation of the SELECT operand.SDF displays the operand form for the SHOW-FILE-ATTRIBUTES command again. The form includes a request to correct the value of the FILE-NAME operand and contains additional information on the SELECT operand. The parentheses following the *BY-ATTRIBUTES value indicate that *BY-ATTRIBUTES initiates a structure.
Figure 28: Operand form for the SHOW-FILE-ATTRIBUTES command
The FILE-NAME operand value is corrected. The default value *ALL of the SELECT operand is overwritten with “*by” (BY-ATTRIBUTES). Sending off the form causes SDF to display a subform for the *BY-ATTRIBUTES structure.
SDF displays the subform for the *BY-ATTRIBUTES structure.
Figure 29: Operand subform for the *BY-ATTRIBUTES structure of the SHOW-FILE-ATTRIBUTES command
As the NEXT line is already preset with “+”, sending off the screen (
key) causes the next page of the operand form to be output.Figure 30:
Operand subform for the *BY-ATTRIBUTES structure of the SHOW-FILE-ATTRIBUTES command
Entering “i,s” assigns the FILE-STRUCTURE operand the values ISAM and SAM. The parentheses normally required for list entries may be omitted here. Any “Next-cmd” command may be entered in the NEXT line, regardless of the application domain, and it will be executed after execution of the SHOW-FILE-ATTRIBUTES command. The “Next-cmd” entered is the MODIFY-SDF-OPTIONS command (“mod-sdf-opt guid=med”), which causes a switch to dialog with medium user guidance. Sending off the form first causes the SHOW-FILE-ATTRIBUTES command to be executed. The system displays the required information. Then the user guidance level is changed. The dialog is resumed by pressing the transmit (
) key.% 33 :2OSG:$USER1.TEST.EXAMPLE.1
% 72 :2OSG:$USER1.TEST.EXAMPLE.2
% 48 :2OSG:$USER1.TEST.EXAMPLE.3
% 3 :2OSG:$USER1.TEST.EXAMPLE.4
%:2OSG: PUBLIC: 4 FILES RES= 156 FRE= 30 REL= 9 PAGES
%PLEASE ACKNOWLEDGE