Conceptos rpg ile, as400

Solo disponible en BuenasTareas
  • Páginas : 134 (33254 palabras )
  • Descarga(s) : 0
  • Publicado : 21 de enero de 2012
Leer documento completo
Vista previa del texto
ERserver
iSeries

ILE Concepts
Version 5 Release 3
SC41-5606-07

ERserver
iSeries

ILE Concepts
Version 5 Release 3
SC41-5606-07

Note Before using this information and the product it supports, be sure to read the information in Appendix D, “Notices,” on page 203.

Eighth Edition (April 2004)

| This edition applies to version 5, release 3, modification 0 of IBM OperatingSystem/400 (product number 5722-SS1) | and to all subsequent releases and modifications until otherwise indicated in new editions. This version does not | run on all reduced instruction set computer (RISC) models nor does it run on CISC models. | This edition replaces SC41-5606-06.
© Copyright International Business Machines Corporation 1997, 2003. All rights reserved. US Government Users RestrictedRights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.

Contents
About ILE Concepts (SC41-5606) . . . vii
Who should read this book . . . . . . . . . vii Prerequisite and related information . . . . . . vii How to send your comments . . . . . . . . viii Error Handling . . . . . . . . . . . Job Message Queues . . . . . . . . Exception Messages and HowThey Are Sent How Exception Messages Are Handled . . Exception Recovery . . . . . . . . . Default Actions for Unhandled Exceptions . Types of Exception Handlers . . . . . ILE Conditions . . . . . . . . . . Data Management Scoping Rules . . . . . Call-Level Scoping . . . . . . . . . Activation-Group-Level Scoping . . . . Job-Level Scoping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . 41 41 42 42 43 43 45 47 48 48 49 50

Chapter 1. Integrated Language Environment Introduction . . . . . . . 1
What Is ILE? . . . . . . . . . . . . What Are the Benefits of ILE? . . . . . . Binding . . . . . . . . . . . . . Modularity . . . . . . . . . . . . Reusable Components . . . . . . . . Common Run-Time Services . . . . . . Coexistence with Existing Applications . . Source Debugger . .. . . . . . . . Better Control over Resources. . . . . . Better Control over Language Interactions . Better Code Optimization . . . . . . . Better Environment for C . . . . . . . Foundation for the Future . . . . . . . What Is the History of ILE? . . . . . . . Original Program Model Description . . . Extended Program Model Description . . . Integrated Language Environment Description . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1 1 1 2 2 3 3 3 4 6 6 6 6 6 8 8

Chapter 4. Teraspace and single-level store . . . . . . . . . . . . . . . 53
Teraspace characteristics . . . . . . . . . Enabling your programs for teraspace . . . . Choosing a program storage model . . . . . Specifying the teraspace storage model . . . Selecting a compatible activation group . . . Howthe storage models interact . . . . . Converting your service program to inherit a storage model . . . . . . . . . . . Changing and updating your programs: teraspace considerations . . . . . . . . Taking advantage of 8-byte pointers in your C and C++ code . . . . . . . . . . . . . . Pointer support in C and C++ compilers . . Pointer conversions . . . . . . . . . . Using the teraspace storage model .. . . . . Using teraspace: best practices . . . . . . OS/400 interfaces and teraspace . . . . . Potential problems that can arise when you use teraspace . . . . . . . . . . . . . Teraspace usage tips . . . . . . . . . . . . . . . . 53 53 54 54 55 56

. 57 . 57 . . . . . . 57 58 59 60 60 61

Chapter 2. ILE Basic Concepts . . . . 11
Structure of an ILE Program . . . Procedure . . . . . . . . .Module Object . . . . . . . ILE Program . . . . . . . . Service Program . . . . . . . Binding Directory . . . . . . Binding Directory Processing . Binder Functions . . . . . . Calls to Programs and Procedures . Dynamic Program Calls . . . Static Procedure Calls . . . . Activation . . . . . . . . . Error Handling . . . . . . . Optimizing Translator . . . . . Debugger . . . . . . . . . . . . . ....
tracking img