MC Press Online
Welcome to MC Press Online!
Need help with our eBooks?
Home  |  Cart  |  My Account  |  Support    
Click here, to go to our main store

  MC Press Online eBookStore   

Functions in Free-Format RPG IV

Functions in Free-Format RPG IV

Author: Jim Martin
Publisher: MC Press Online
Publication Date: June 2009
Subject: Computer: Programming & Software Engineering

Free Preview    Email to Friend
 Available as: (for format`s description click on its name)
Individual E-Version (PDF) Individual E-Version (PDF) ISBN: 9781583470879  
 Reg.: $
59.95 per N pages
 Online  Open CopyPrint    
all time
Printed Edition   see MC Press Online    
About this title
Here is the ultimate guide to writing RPG IV programs with functions in the free-format style. Let RPG expert and best-selling author Jim Martin show you the way. Want to generate a random number, manipulate a character string, or determine the number of elements in a data structure? There's a function for that. Jim will even show you how to write your own custom built-in functions (BIFs).

In this book, you'll discover the role of functions in free-format RPG IV. Jim explains the details of built-in functions (BIFs) and explores the use of C language functions, do-it-yourself functions (subprocedures), and prototyping and procedure interfaces for function connectivity of RPG IV main procedures with subprocedures and other modules. Because functions rely heavily on ILE, the book examines those ILE concepts that connect the parts of a multi-functional program, such as binding, import/export of data, service programs, and binding directories. In addition, you'll find how to prototype IBM's APIs.

Modular programming is important, and it's powerful. Programmers need to understand modular concepts in depth, including all the interfacing tools needed to make programs perform well. Inside this book, you'll find everything a free-format RPG IV programmer needs to know about using existing RPG IV BIFs, writing new functions, leveraging ILE concepts to use C functions, and using IBM APIs as functions.

With Functions in Free-Format RPG IV, you will:
  • Take your free-format skills to the next level
  • Master the entire range of functions and effectively leverage them
  • Acquire the knowledge necessary to write your own functions
  • Combine and nest built-in functions, subprocedures, C functions, and IBM APIs to produce highly modularized programs
  • Understand ILE concepts such as binding by copy, binding by reference, import/export of data, service programs, signatures, and binding directories
  • Learn how to analyze needs for a new program, with respect to modularization and functions
About author
Jim Martin
Jim Martin has a BS degree in mathematics and an MS in computer science. He was employed by IBM for 26 years, where he wrote RPG applications for customers and also worked in the programming laboratory as a programmer of portions of CPF and OS/400. After leaving IBM, Jim took post-graduate work in computer science and performed RPG training. He is an IBM-certified RPG IV developer.

Chapter 1: An Introduction to Functions
Chapter 2: Essential BIFs in Free-Format RPG IV
Chapter 3: Using C Functions
Chapter 4: Subprocedures
Chapter 5: Using Prototyping and ILE to Connect the Parts
Chapter 6: Coding RPG IV the Modular and Functional Way
Appendix A: Free-format RPG IV Coding Standards and Recommendations
Appendix B: Built-in Functions Reference
Related titles
Advanced, Integrated RPGAdvanced, Integrated RPG
Free-Format RPG IVFree-Format RPG IV
Modern RPG IV Language, TheModern RPG IV Language, The
  Special Offer Code  
Enter your Special Offer Code here:
  Search for  

  Our Products  
Browse all »»
DB2 9 System Administration for z/OS: Certification Study Guide (Exam 737)
DB2 9 System Administration for z/OS: Certification Study Guide (Exam 737)
DB2 10 for z/OS: Cost Savings . . . Right Out of the Box
DB2 10 for z/OS: Cost Savings . . . Right Out of the Box
DB2 9 for z/OS Database Administration: Certification Study Guide (Exam 732)
DB2 9 for z/OS Database Administration: Certification Study Guide (Exam 732)

If download option is selected, Adobe Acrobat 5.0 or later is required to read our e-books*

Windows PC, Mac OS9/OSX, and Linux

  Secure Shopping  
money-back 30 days guarantee

All orders for eBooks are filled and customer/technical
support is provided by

Copyright © 2001-2011 by Publishers Row. All rights reserved.
Our Privacy Policy and Terms of Use