1 / 32

Creating a Display File using SDA SCREEN1

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.

Sophia
Télécharger la présentation

Creating a Display File using SDA SCREEN1

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 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

  2. Follow the steps in the next series of slides using SDA to create the following Display File:

  3. STRSDA, enter.

  4. Type 1, enter.

  5. Type the name of the source file (QDDSSRC), the Library (SSyouruserid), and Member name (BOOKDSPF), press enter.

  6. Type 1 on Opt, press Enter.

  7. Type SCREEN1, press Enter.

  8. This is the blank workspace:

  9. 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!

  10. 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

  11. Place 2 on the Option for BKSISBN, enter

  12. Press Enter to return to workspace

  13. Note that field 1 is the BKSISBN field from the database file.

  14. 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.

  15. An input field has now been placed on the screen for the ISBN number

  16. 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.

  17. An input field has now been defined on the screen.

  18. Place a statement to indicate you designed this screen, press Enter.

  19. Your first screen is completed!

  20. Press F3 then 1, Enter

  21. Press F3 to exit.

  22. Press F3 to Exit, change Submit create job in batch to N. Press Enter.

  23. Press Enter

  24. Press F3 to Exit

  25. Type 3 to test the display file, Enter.

  26. Type SCREEN1, Enter.

  27. Press enter.

  28. Tab to second field. Enter.

  29. Press enter. F3 X3 back to PDM.

  30. Print the DDS source code: • Type WRKMBRPDM FILE(SSxxxxxxxx/QDDSSRC) • Press Enter • Place 6 on Opt • Type SP on Opt

  31. Type 2 on the last Opt line.

  32. Type TC209 on the Printer line. Enter. Turn in the printout.

More Related