Vai al contenuto principale della pagina
Autore: | Martin Jim |
Titolo: | Free-format RPG IV [[electronic resource]] / Jim Martin |
Pubblicazione: | Boise, Idaho, : MC Press, c2013 |
Edizione: | 2nd ed. |
Descrizione fisica: | 1 online resource (225 p.) |
Disciplina: | 005.242 |
Soggetto topico: | RPG IV (Computer program language) |
Note generali: | Includes index. |
Nota di contenuto: | 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 Perspective ; Conclusions; Check It Out ; Chapter 3: Introducing Free-Format RPG IV ; Free-Format Operation Codes ; Evaluate ; If ..................................................................................................................... 26; Controlled Looping ........................................................................................ 27; Mathematics ................................................................................................... 28 | |
Character Strings ............................................................................................ 29The Free-Format Code Block; Coding Free-Format Operations; Naming Variables; Programming Style; A Note About Case ; Programming Style Issues ; Mixing Formats .............................................................................................. 29; Keyed Access ................................................................................................. 32; Named Indicators ........................................................................................... 33 | |
Naming File Indicators .................................................................................. 33Summing Up ; Chapter 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 FormatChapter 6: Embedded SQL Operations Using Free Format ; Database and Embedded SQL ; Fixed-Format Method ; Free-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 | |
Sommario/riassunto: | <P style=""BORDER-TOP-COLOR: ; BORDER-LEFT-COLOR: ; BORDER-BOTTOM-COLOR: ; BORDER-RIGHT-COLOR: "">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 everything else, thereby requiring hours of tedious research to track down the information needed. This book provides everything one needs to know to write RPG IV in the free-format style, and author Jim Mart |
Titolo autorizzato: | Free-format RPG IV |
ISBN: | 1-58347-714-4 |
Formato: | Materiale a stampa |
Livello bibliografico | Monografia |
Lingua di pubblicazione: | Inglese |
Record Nr.: | 9910790514903321 |
Lo trovi qui: | Univ. Federico II |
Opac: | Controlla la disponibilità qui |