04857nam 2200529 a 450 991081552880332120240314011619.01-58347-714-4(CKB)2550000001133006(EBL)1273947(OCoLC)852759330(MiAaPQ)EBC1273947(Au-PeEL)EBL1273947(CaPaEBR)ebr10731590(CaONFJC)MIL532715(EXLCZ)99255000000113300620130725d2013 uy 0engur|n|---|||||txtrdacontentcrdamediacrrdacarrierFree-format RPG IV[electronic resource]Jim Martin2nd ed.Boise, Idaho MC Pressc20131 online resource (225 p.)Includes index.1-58347-347-5 1-306-01464-6 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 ................................................................................................... 28Character 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 ........................................................................................... 33Naming 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; SelectOperations 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 IntegerExtracting Size, Length, and Decimal Positions<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 MartRPG IV (Computer program language)RPG IV (Computer program language)005.242Martin Jim1631979MiAaPQMiAaPQMiAaPQBOOK9910815528803321Free-format RPG IV3970860UNINA