2. Day 1
• Introduction to the AS/400
• Basic Technical Concepts
• Programming Environment & Tools
• Programming Development Manager (PDM)
• Screen Design Aid (SDA)
• Source Entry Utility (SEU)
3. Day 2
• Nano Project
• Control Language (CL)
• Crash Investigation
• Debugging
• DB2/400
• Query/400
• Introduction to RPG
4. Objective
Give the participants a pretty good idea about
what a full course would be like and what to
expect if they decide to become AS/400
developers.
17. Numeric Data
• Zoned Decimal (Also called Signed)
• Packed Decimal
• Binary (My suggestion: Do not use in Business Applications)
18. Zoned / Signed
Each digit needs one Byte.
If negative, sign is indicated by setting “B” bit “on” in Units position.
Positive
1
2
3
4
1
2
3
Negative
1
2
3 M
1
2 L
22. Indexed Files
• Have one or more Keys
• Conceptually, two files – one containing
record data, the other containing Key
Values and “Pointer” to the record data.
• Record data is stored in arrival sequence.
• “The other” file is automatically updated by
the Operating System.
29. Conceptual structure of a PF
File Description (Metadata)
Storage Area for Data
Member 1
Member 2
.
.
.
Member n
Index (Access Path in IBM’s terminology)-Optional
39. We need
•
•
•
•
•
•
•
A menu.
A Physical File to store Fruit Information. For menu option 1 (and 2 too).
A program to read Fruit Information from PF. For menu option 1.
A screen to display Fruit Information. For menu option 1 and 2.
A program to display Fruit Information using the DSPF. For menu option 1 and 2.
A Logical File (Index) with Fruit Name as the key. For menu option 2.
A program to read Fruit Information from LF. For menu option 2.
40. High Level Plan
1.Create Menu.
2.Implement Option 1.
3.Implement Option 2.
4.Implement Option 3.
42. Revised High Level Plan
1.Implement Option 1.
2.Implement Option 2.
3.Implement Option 3.
4.Create Menu.
43. Option 1 Needs
1. A Physical File to store Fruit Information.
2. A program to read Fruit Information from PF.
3. A screen to display Fruit Information.
4. A program to display Fruit Information using the DSPF.