Free-Format RPG IV /
This how-to guide offers a concise and thorough introduction to the increased productivity, better readability, and easier program maintenance that comes with the free-format style of programming in RPG IV. Although free-format information is available in IBM manuals, it is not separated from everyt...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Chicago :
MC Press,
2013.
|
Edición: | 2nd ed. |
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- Front Cover; Title Page; Copyright Page; Dedication; Acknowledgments; Contents; Preface to the Second Edition; A Note About Source Entry; Chapter 1: Pre-Free-Format RPG IV; RPG IV; Extended Factor 2; Built-in Functions; Subprocedures3; Other Changes; Some "Baggage" That Came Along; The Future; Chapter 2: The Case for Free-Format RPG; Easier to Read and Maintain; Good Field Naming; Indenting; Use of Comments; No; Goto; Operations; Conclusions; A "Modern" Programming Style; Free-Format RPG IV and C; Free-Format RPG IV and Java; Conclusions; Being "Current"; The Programmer's Perspective.
- Management's PerspectiveConclusions; Check It Out; Chapter 3: Introducing Free-Format RPG IV; The Free-Format Code Block; Coding Free-Format Operations; Naming Variables; Programming Style; A Note About Case; Free-Format Operation Codes; Evaluate; If ... 26; Controlled Looping ... 27; Mathematics ... 28.
- Character Strings ... 29Programming Style Issues; Mixing Formats ... 29; Keyed Access ... 32; Named Indicators ... 33; Naming File Indicators ... 33.
- Summing UpChapter 4: Input/Output Using Free Format; Database Input; %Eof; %Found; %Error; %Equal; Data Area Input; Database Output; Write; Update; Delete; Except; Workstation I/O; Write/Read; Write; Read; ICF I/O; Dsply; Printer Output; Overflow Indicator; Write; Except; Chapter 5: Program Flow Using Free Format; The If Group; If; Else; Elseif; Endif; The Do Operations; Do While; Do Until; Dow and Dou Differences; For; Loop Interrupt; Leave; Iter; The Select Group; Select; Operations Absent in Free Format; Chapter 6: Embedded SQL Operations Using Free Format; Database and Embedded SQL.
- Fixed-Format MethodFree-Format Method; Chapter 7: Data-Manipulation Operations Using Free Format ... 65; Assignment Statements; Eval Operation: Numeric; Eval Operation: Character; Evaluate Right (EvalR) Operation; Operation: IS, OC; Evaluate vs. Move; Built-in Functions; Converting Decimal to Character; Converting Character to Packed Decimal; Substringing; Replace; Scan and Replace; Concatenation and Trim; Converting Character to Integer; Extracting Size, Length, and Decimal Positions; Number of Elements; Looking for Something?; String Translation; Combining Built-in Functions.