as400 - an introduction (part 3)

Upload: vikas-anand

Post on 14-Apr-2018

218 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/27/2019 AS400 - An Introduction (Part 3)

    1/12

    HCL Technologies Ltd.

    An Introduction to the

    AS/400 / iSeries / i5

    Mid-Range Sys tem

    (Part 3)

    Overview of Application Development

    Joy Patnaik

  • 7/27/2019 AS400 - An Introduction (Part 3)

    2/12

  • 7/27/2019 AS400 - An Introduction (Part 3)

    3/12

    Application Development

    Landscape OPM

    OPM Original Program Model

    Chief Characteristics :

    One source member being compiled into oneexecutable program

    Inter-Language calls not possible

    Most Legacy code runs in OPM (unless converted to

    ILE)

  • 7/27/2019 AS400 - An Introduction (Part 3)

    4/12

    Application Development

    Landscape ILE

    ILE Integrated Language Environment

    Chief Characteristic :

    Two-step process to create programs.

    Source members are first compiled into moduleobjects (type *MOD). Modules can be thought ofas sub-programs. They are validated andcompiled machine code, but are not executable.

    One or more modules must then be bound intoan executable program

    Modules created using different programminglanguages may be bound into the same program

    object.

  • 7/27/2019 AS400 - An Introduction (Part 3)

    5/12

    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

  • 7/27/2019 AS400 - An Introduction (Part 3)

    6/12

    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)

  • 7/27/2019 AS400 - An Introduction (Part 3)

    7/12

    Application Development

    Landscape Tools - 2

    Other Tools Compilers (for various languages)

    Debuggers (for OPM and ILE)

    Data File Utility (DFU)

  • 7/27/2019 AS400 - An Introduction (Part 3)

    8/12

    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

  • 7/27/2019 AS400 - An Introduction (Part 3)

    9/12

    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)

  • 7/27/2019 AS400 - An Introduction (Part 3)

    10/12

  • 7/27/2019 AS400 - An Introduction (Part 3)

    11/12

    DB2/400

    Explanation of DB2/400

    http://localhost/var/www/apps/conversion/tmp/scratch_6/DB2400.ppthttp://localhost/var/www/apps/conversion/tmp/scratch_6/DB2400.ppt
  • 7/27/2019 AS400 - An Introduction (Part 3)

    12/12

    Order Entry System (OES)

    Explanation of DDSs for requirements

    specified in Design Document for OES

    Create required DDSs