
Screen Design Aid
-
SDA ia a tool which help us to design screen in AS400
-
Explain the relationship between display files and DDS source members
-
Show the advantages of using SDA over DDS to define and test screens
-
Define a screen using SDA
-
Test a screen using SDA
-
Create a menu
Designing a Simple Record Format
Designing a simple record format
Steps:
-
Type STRSDA on command Line
-
Take option 1 - Design Screens
-
Enter Source physical file, library and member(Screen to be designed) name.
-
Provide the name of record format.
-
in the field Type- RECORD represents Simple record format.

After Pressing enter we can see a blank screen.
Enter all required text and field.
Use below formula for data type and Field Usage
Field Type Input OutPut Both
Character +I(n) +O(n) +B(n)
Numeric +3(n) +6(n) +9(n)
Here n is length of the field.
In order to fetch system value use below command
*Time - time
*Date - Date
*User -User
*Sysname - System Name
Few short cuts:
AC Centers the field
B Blink
H Highlight
R Reverse Image
U Underline
CB Blue
CG Green
CP Pink
CR Red
CT Turquoise
CW White
CY Yellow
* Select Field Keywords Screen

Simple Record Format Screen
Sub File Screen

A sample Footer screen using Simple record format concept

Window Sub File Screen

Points to Remember
-
SDA allows you to define and create screens and menus
-
SDA creates DDS specifications and display file objects
-
Display files can be “tested”
-
When changing a screen definition, you must recompile all programs that use the screen