Documente Academic
Documente Profesional
Documente Cultură
SyedIbrahim Abbas
Topics to be covered
Source Entry Utility (SEU) Data File Utility (DFU) Screen Design Aid (SDA) Q&A
SEU
Create new source members Print the member Edit, Browse and Delete the members
Edit Session
Special Features
SEU commands Line commands Syntax checking Additional options
SEU Commands
SEU command allow you to work with member without leaving the work screen Line commands help you to insert, copy, move, delete or prompt for records It performs automatic syntax checking of source statements for C, C++, Java, Cobol, RPG, CLP and REXX
You can also split the edit / browse session in to two parts This feature can be used to copy records from one member on display to member that you are editing
Starting SEU
Type STRSEU
Type source member Eg. INVMAST Source Type: Eg. PF Option: 2/*blank edit , 5- browse 6- Print Type the text description
Starting screen
Browse/copy F15
To copy a block of records type CC in the starting line and in end line and press enter Type A and press enter in the member we are editing to paste the copied content Press F12 to close the browse session, revert back to single screen
DFU
To Enter data into Database file Used to create Data Entry Programs for users Once program created you can
Enter data Update files Make file enquires
DFU Menu
STRDFU To create a program type option 2 and press enter. In the 1st screen enter proram name/LIB and Data file/LIB
Next select the record format you wish to use Select and sequence fields based on your requirement
After DFU program saved change screen will be displayed You can also select option 1 from DFU menu Using DFU program you can
Change a record file F11 Browse record page down / page up Print an audit report listing all the changes made to that file Automatically duplicate one or more fields
SDA
SDA is an Interactive tool to design menus and displays used by program It is also used to create online help information
SDA Painting image directly on screen SEU coding data description manually
Display file can contain multiple records A record may contain multiple fields SDA manages the records for you to cpy, delete, rename and design
Work screen
To add
Constant : surround your text with single quotes (), eg. Customer Field : type + followed by char I, O , B ( i/p, o/p, both) Num 3, 6, 9 ( i/p, o/p, both)
You can define attribute of fields by placing * before any field and press enter To give a name to the field type ? Before the field
Select option
2 for input 3 for output 4 for both
Then you will be returned to the work screen All the database fields are listed at the bottom with a number You can add this field any where in the work screen by typing & followed by the reference number. E.g.&5
Type option 8 then select record level keyword based on your need
Indicator keyword
Overlay keyword
If you do not want this record to clear the screen when it displayed then use this keyword . Type Y
Output keyword
This format is not to erase any other format underneath it
DDS
SDA will generate DDS based on the information on the screen You can view/edit tat using SEU
SEU
Easily copy DDS from other display files Copy or move section of code from one location to another Use global find and repalce Fine-tune a display