Professional Documents
Culture Documents
1) GUI:
We Can use SDA tool to design the screens
2) HLL:
3)DBS:
We store the data in DB2/400 and design the screens for user interaction using SDA tool and we do use
RPG programs for processing the user requests, These rpg programs are being driven by the CL
programs.
What is a file?
File is nothing but collection of records
Record?
Its nothing but collection of columns(fields)
Column?
Its nothing but a variable with defined attribute.
designing a file means giving the margins with a scale and giving the attributes of the field,
File Design mainly involves defining the data structure and atributes.
For the same example:
EMPNO i'd give 5cm space for empname 15cms, empsal again 5cms
In AS/400 We have a tool called. SEU(Source Entry utility) We can use this tool to give ur souce
codes in different Sourcememebers
Source file:
Source file is a file which exists in a library and this source file can contain lot of source members in it.
Source Member:
So We can give any source code in a source member ...When we start SEU tool it will be asking for
this path
WRKMBRPDM is the tool that will let you work with the Members using program development
manager.
This will help u to work with souce codes.
Now we are coming back to creating Files in Db2/400
Physical file: Physical file is an object of type *file which holds the real data
Logical file: is an object of type *file which holds No Data but provides an access path on to the PF,.