AS/400 Concepts & Tools. Day 1 Introduction to the AS/400 Basic Technical Concepts Programming Environment & Tools Programming Development Manager (PDM)

Slides:



Advertisements
Similar presentations
Week # 3 AS/400 Library List A library list is:
Advertisements

iSeries Database Files
Physical DataBase Design
August 29, Accessing the iSeries and Some Commands.
Main Menu F3 Exit = Press F3 to exit this screen. Commonly Use Keys: F4 Prompt = Position cursor in front of ‘?’ location and press F4 to display a list.
Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 1/1 Copyright © 2004 Please……. No Food Or Drink in the class.
Week # 2 - Agenda Types of AS/400 Objects Qualified/Unqualified Names
Data Dictionary What does “Backordered item” mean? What does “New Customer info.” contain? How does the “account receivable report” look like?
Introduction to the ABAP Data Dictionary
Query Manager. QM is a collection of tools you can use to obtain information from the AS/400 database Used to –select, arrange, and analyze information.
MIS DATABASE SYSTEMS, DATA WAREHOUSES, AND DATA MARTS MBNA
XP Class Agenda – 09/06/2011 Discuss process of application development (see slides from 09/01/2011) Present computer data organization. Explore files,
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
11 3 / 12 CHAPTER Databases MIS105 Lec14 Irfan Ahmed Ilyas.
“DOK 322 DBMS” Y.T. Database Design Hacettepe University Department of Information Management DOK 322: Database Management Systems.
A Guide to MySQL 3. 2 Objectives Start MySQL and learn how to use the MySQL Reference Manual Create a database Change (activate) a database Create tables.
Implementation/Acceptance Testing / 1 Implementation and Acceptance Testing Physical Implementation Criteria: 1. Data availability 2. Data reliability.
Access Lecture 1 Database Overview and Creating Tables Create an Employee Table.
Chapter Extension 6 Using Microsoft Access © 2008 Pearson Prentice Hall, Experiencing MIS, David Kroenke.
Information systems and databases Database information systems Read the textbook: Chapter 2: Information systems and databases FOR MORE INFO...
1 Intro to the AS/400 Chapter 8 - Data File Utility Copyright 1999 by Janson Industries.
Introduction to the AS/400 AS/400 Mid-Range Operating System.
MS Access 2007 IT User Services - University of Delaware.
Databases & Data Warehouses Chapter 3 Database Processing.
Copyright 2000 All Rights Reserved Raz-Lee, Ltd. FileScope Tools Programmers Toolbox.
MIS DATABASE SYSTEMS, DATA WAREHOUSES, AND DATA MARTS MBNA ebay
An INTRODUCTION to MICROSOFT ACESS 2000 By Dr. Ennis-Cole.
Access Lesson 2 Creating a Database
Course Introduction Introduction to Databases Instructor: Joe Bockhorst University of Wisconsin - Milwaukee.
Presentation © Copyright 2002, Bryan Meyers Externally Described Files Chapter 6.
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Access Project 6 Switchboards, PivotTables, and PivotCharts.
Chapter 6 1 © Prentice Hall, 2002 The Physical Design Stage of SDLC (figures 2.4, 2.5 revisited) Project Identification and Selection Project Initiation.
1FileScope  FileScope File Editor Query Tool Report Generator File Conversion Tool Full Screen Support Developers Tool.
More about Databases. Data Entry through Forms Table View (Data sheet view) is useful for data entry of new records But sometimes customization would.
CPSC 203 Introduction to Computers Tutorial 03 & 29 By Jie (Jeff) Gao.
ICS124 Session 11 Introduction to AS/ By the end of this section, the student will be able to: Define the major difference between the AS/400 and.
11 3 / 12 CHAPTER Databases MIS105 Lec15 Irfan Ahmed Ilyas.
CIS 210 Systems Analysis and Development Week 6 Part II Designing Databases,
Technology Guide 3 Data & Database. Agenda Definition File processing problems Database Selection criteria.
Unit 5, Lesson 1 Working with Databases. Objectives Identify the parts of the Access screen. Identify the parts of the Access screen. Understand the purpose.
Accessing the AS/400 DATABASE Preparation for DATA storage Create a receptacle (file) internal -- in program or direct (output / crtpf) external -- with.
IBC233 Lecture 2 Updated Winter 2008 Agenda Test next Week – Jan 23 ISeries Architecture CL (Control Language) Library Lists Operations Navigator.
INTRODUCTION TO DBS Database: a collection of data describing the activities of one or more related organizations DBMS: software designed to assist in.
W6L1ops400.ppt1 Reviews. 2 Notation types? Difference ? Job commands ?Get help with CMD??? Menu What role does the user profile play?What is your job.
Linux+ Guide to Linux Certification, Third Edition
ACIS Introduction to Data Analytics & Business Intelligence Database s Benefits & Components.
Database Objective Demonstrate basic database concepts and functions.
Lesson 5 Word Lesson 4 presentation prepared by Kathy Clark (Southside H.S. IT Academy Teacher at Chocowinity, NC). Content from Microsoft Office Word.
2/20: Ch. 6 Data Management What is data? How is it stored? –Traditional management storage techniques; problems –DBMS.
Copyright (c) 2014 Pearson Education, Inc. Introduction to DBMS.
1 Week # 4 Introduction to PDM PDM is a workbench environment that lets programmers and system operators navigate the three levels of the AS/400’s object-based.
1 Welcome! DBT544 students to the iSeries, DB2 Universal Database And SQL interface.
Getting Started in Access 1 Using an existing Database Database Window Table Design View Parts of a Table Views in Access Navigating in Access Entering.
Today’s Agenda Object Management Library List PDM (Programming Development Manager) SEU (Source Entry Utility)
CHAPTER 9 File Storage Shared Preferences SQLite.
SVBIT SUBJECT:- Operating System TOPICS:- File Management
COMPUTER SKILLS MS-ACCESS. Introduction Access is a piece of software known as a database management system. At its most basic level, it can be used to.
PRG 421 MART Education Expert/prg421mart.com FOR MORE CLASSES VISIT
IBM I TIPS AND TECHNIQUES A HODGE PODGE OF HELPFUL IBM I INFORMATION PROVIDED BY LAURA AND OTHER COMMUNITY MEMBERS PRESENTED BY LAURA.
PRG 421 ACADEMIC PROFESSOR/TUTORIALRANK For more course Tutorials
Welcome to IBC233 Cindy Laurin And Russ Pangborn.
INTRODUCTION TO DATABASES (MICROSOFT ACCESS)
How’s assignment 1 coming? Winter 2007
IBC233 Week 6.
Translation of ER-diagram into Relational Schema
Data Model.
Database Design Hacettepe University
IBC233 Week 5.
Presentation transcript:

AS/400 Concepts & Tools

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)

Day 2 Nano Project Control Language (CL) Crash Investigation Debugging DB2/400 Query/400 Introduction to RPG

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.

Hello World

How are you?

Under the hood

Hello World Start session B EX00101DS SAYHELLO DSPCMD EX00101 HELLOSRC / Library Library contains HELLOSRC HELLOSRC contains members

How are you? Session A PDM Opt.1 (TRAINER1) PDM Opt.1 (Ln22/23, F23, F24, F18, Bottom) 12 on TRAINER1 (Lib, Objects) CRTLIB (Security, Msgs(24), +) CRTSRCPF (112, W/o Desc.) 13 on HOWSRC 12 on HOWSRC

Architect’s Plan

The House

PF-SRC = Architect’s Filing cabinet Member = Architect’s Plan Compiler = Civil Engineer Object = The House

SDA Opt.3 EX00201DS  EX00201DSA Opt.17; Explain WW Display Records screen Opt.12-Ins/Del caution 2,2 *user, 1,60 *date, 2,65 *time Date & Time >>>>, <<<<<, User -=, -==, CW, CB, CP Exit SDA Session A (SAYHOWRYOU) Session B ( 5 on EX00201DS)

i = Integration

PCAS/400 FolderLibrary Excel file=Physical File Worksheet=Member Row=Record ColumnField

Integrated File System (IFS) Native Environment

Numeric Data Zoned Decimal (Also called Signed) Packed Decimal Binary (My suggestion: Do not use in Business Applications)

Zoned / Signed PositiveNegative M12L Each digit needs one Byte. If negative, sign is indicated by setting “B” bit “on” in Units position.

Sequential File Organization School

Sequential Files No Key Data is stored in arrival sequence

Indexed File Organization School

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.

Objects

Library Type Name

Libraries Purpose Similarity to Windows Folders Exceptions

Libraries (Exceptions) QSYS QTEMP –Purpose –Creation –Initialization –Deletion

Library List

Database Files Physical Files Table in RDBMS Logical File View in RDBMS

File Description (Metadata) Storage Area for Data Index (Access Path in IBM’s terminology)-Optional Member 1 Member 2 Member n Conceptual structure of a PF

Physical Files PF-SRC PF-DTA

PF-DTA & PF-SRC No “Structural” difference Compilation PF-SRC  No member PF-DTA  One member (Name defaults to File Name)

Members Use Type When to use When not to use

Development Tools Source Entry Utility Screen Design Aid Report Layout Utility Data File Utility

Nano Project

Screen Design Aid (SDA), Option 2-Design menus

Screen Design Aid (SDA), Option 1-Design screens PF-DTA Control Language Program Data File Utility (DFU)

Screen Design Aid (SDA), Option 2-Design menus

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.

High Level Plan 1.Create Menu. 2.Implement Option 1. 3.Implement Option 2. 4.Implement Option 3.

Menu = Gift Wrapping

Revised High Level Plan 1.Implement Option 1. 2.Implement Option 2. 3.Implement Option 3. 4.Create Menu.

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.

Option 01 Diagram FRUITSNP0101 NP0102 NP0102DS Fruit Name Purchase Price Retail Price Wholesale Price F3 Pressed? (Y/N)

FRUITS Field NameSizeTypeBytesFromTo NAME30Character301 PURPRICE15,2Zoned RTLPRICE15,2Packed84653 WHLPRICE14,2Packed85461 ?

Development Plan-Option 01 1.Create. 2.Populate. 3.Create. 4.Test. 5.Create. 6.Create. 7.Test FRUITS NP0101 NP0102 NP0102DS ORANGE, 3000, 8000, 5000 PEACH, 15000, 30000, APPLE, 5000, 10000, 8000 Development Testing

Query/400 Benefits Limitataions

RPG Display “Hello World” (EX00103) Calculator (EX00403)

I hear and I forget. I see and I remember. I do and I understand.