Sei sulla pagina 1di 12

HCL Technologies Ltd.

An Introduction to the AS/400 / iSeries / i5 Mid-Range System (Part 3)


Overview of Application Development

Joy Patnaik

Agenda
Application Development Landscape Application Development Workflow DB2/400 DB2 UDB for iSeries

Application Development Landscape OPM

OPM

Original Program Model Chief Characteristics : One source member being compiled into one executable program Inter-Language calls not possible Most Legacy code runs in OPM (unless converted to ILE)

Application Development Landscape ILE

ILE

Integrated Language Environment Chief Characteristic : Two-step process to create programs. Source members are first compiled into module objects (type *MOD). Modules can be thought of as sub-programs. They are validated and compiled machine code, but are not executable. One or more modules must then be bound into an executable program Modules created using different programming languages may be bound into the same program object.

Application Development Landscape - Languages

Control / Command Language

CL, CMD

Legacy Applications

RPG (various flavours RPG-II, RPG/400) COBOL/400

Recent Applications

GUI - Java, Domino Green-Screen ILE RPG, ILE COBOL

Other Languages

BASIC, C

Application Development Landscape Tools - 1

Programmer Tools

UI for often-used programming tasks - Programming Development Manager (PDM) Editor - Source Entry Utility (SEU)

Describing Data Sources and Sinks


Data Description Specification (DDS) Editor (SEU) Design screen layout - Screen Design Aid (SDA) Design report layout - Report Layout Utility (RLU)

Application Development Landscape Tools - 2

Other Tools

Compilers (for various languages) Debuggers (for OPM and ILE) Data File Utility (DFU)

Application Development Workflow OPM - 1


Example : Order Entry Screen
Specficiations :
Screen should allow Add / Change / Delete for Order details Screen should allow printing of Order Book

Application Development Workflow OPM - 2


Workflow for OPM App. Dev.
Design database files for storing Order Data
Create Physical Files (PF) source member (code) using editor (SEU) Compile DDS for PF source member Output : Object with Object Type = *FILE (PF-DTA)

Design logical views of Order data


Create Logical Files (LF) source member (code) using editor (SEU) Compile DDS for LF source member Output : Object with Object Type = *FILE (LF)

Design screen layout for Order Entry screen


Create screen layout using SDA Compile DDS for screen Output : Object with Object Type = *FILE (DSPF)

Application Development Workflow OPM - 3


Workflow for OPM App. Dev. contd.
Design report layout for Order Book
Create report layout using RLU Compile DDS for report layout Output : Object with Object Type = *FILE (PRTF)

Programming for Order Entry Screen Compilation


Check Compilation spool for compilation error
If any errors found, correct in source members (code) and recompile required code.

On successful compilation, executable object is created

Testing
Debugging

DB2/400
Explanation of DB2/400

Order Entry System (OES)


Explanation of DDSs for requirements specified in Design Document for OES Create required DDSs

Potrebbero piacerti anche