320 likes | 506 Views
Creating a Display File using SDA SCREEN1. Screen Design Aid is the most efficient way to construct display file screens The BOOKSPF physical file must already be created from Lab I of the Subfile lab before proceeding with this exercise.
E N D
Creating a Display File using SDASCREEN1 • Screen Design Aid is the most efficient way to construct display file screens • The BOOKSPF physical file must already be created from Lab I of the Subfile lab before proceeding with this exercise. • The first display file will be used to enter book inventory information • This is a review exercise for students who have already taken iSeries/400 Operations
Follow the steps in the next series of slides using SDA to create the following Display File:
Type the name of the source file (QDDSSRC), the Library (SSyouruserid), and Member name (BOOKDSPF), press enter.
Use the arrow keys to paint the screen as it appears below. Do not use backspace, just arrow keys and the space bar. Make sure to use the single quotes around strings to minimize code lines. DO NOT PRESS ENTER!
To add a database field for the ISBN Number, Press F10 Use your library name here Option 1, Database File BOOKSPF, Library SSyouruserid, Record BOOKREC, press enter
Note that field 1 is the BKSISBN field from the database file.
Position the cursor using the arrow keys near the area where the entry field will be located for ISBN. Type &1 in this location to position the field. Press Enter.
An input field has now been placed on the screen for the ISBN number
Position the cursor where the user-defined input field that indicates whether Add, Update, or Delete is being done. Type+I(1) to indicate character input of one field in length. Press enter.
Place a statement to indicate you designed this screen, press Enter.
Press F3 to Exit, change Submit create job in batch to N. Press Enter.
Print the DDS source code: • Type WRKMBRPDM FILE(SSxxxxxxxx/QDDSSRC) • Press Enter • Place 6 on Opt • Type SP on Opt
Type TC209 on the Printer line. Enter. Turn in the printout.