LEADER 04857nam 2200529 a 450 001 9910815528803321 005 20240314011619.0 010 $a1-58347-714-4 035 $a(CKB)2550000001133006 035 $a(EBL)1273947 035 $a(OCoLC)852759330 035 $a(MiAaPQ)EBC1273947 035 $a(Au-PeEL)EBL1273947 035 $a(CaPaEBR)ebr10731590 035 $a(CaONFJC)MIL532715 035 $a(EXLCZ)992550000001133006 100 $a20130725d2013 uy 0 101 0 $aeng 135 $aur|n|---||||| 181 $ctxt$2rdacontent 182 $cc$2rdamedia 183 $acr$2rdacarrier 200 10$aFree-format RPG IV$b[electronic resource]$fJim Martin 205 $a2nd ed. 210 $aBoise, Idaho $cMC Press$dc2013 215 $a1 online resource (225 p.) 300 $aIncludes index. 311 $a1-58347-347-5 311 $a1-306-01464-6 327 $aFront 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" 327 $aThe 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 327 $aCharacter 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 327 $aNaming 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 327 $aOperations 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 327 $aExtracting Size, Length, and Decimal Positions 330 $a

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 606 $aRPG IV (Computer program language) 615 0$aRPG IV (Computer program language) 676 $a005.242 700 $aMartin$b Jim$01631979 801 0$bMiAaPQ 801 1$bMiAaPQ 801 2$bMiAaPQ 906 $aBOOK 912 $a9910815528803321 996 $aFree-format RPG IV$93970860 997 $aUNINA