SAMPLE FORM CREATION
Compiling the form
This exercise gives you practice using most of the FDL
commands discussed throughout this guide.
The next step is to compile the .FSL which produces a sample of
the form, provided there are no syntax errors. The summary
statement also prints any errors.
After you have entered the END command, SAVE, CLEAR, and
END the editing session, as shown in figure C-10.
Figure C-10.
SAVE, CLEAR, and END commands
END;
SAVE 1STFRM.FSL
CE
FDL 1STFRM,TRA
CE is an abbreviation for CLEAR and END.
Do not be surprised if you inadvertently omit a semicolon or
misspell a word. The system indicates where the error occurred
and you can easily go back into the form and correct the error.
If there are errors, at the
OS1000 READY FOR COMMANDS
message on
the LPS user interface, enter the following:
EDIT 1STFRM.FSL
The .FSL file is displayed. When you identify where the error
occurred, modify that record, then SAVE, CLEAR, and END the
editing session. Since this FSL already exists, use the abbreviated
method to SAVE, CLEAR, and END (SCE), as shown in figure C-
11.
Figure C-11.
SAVE, CLEAR, and END (SCE) commands
END;
SCE
FDL 1STFRM,TRA
When the form compiles error-free, your form prints successfully.
Figure C-12 illustrates the complete .FSL.
C-6
XEROX 4050/4090/4450/4650 LPS FORMS CREATION GUIDE