RPG


TechTip: Write Modular, Dynamic Code with Procedure Pointers
Tips & Techniques - RPG
Written by Kevin Forsythe   
Friday, 19 June 2009 00:00

Rather than create multiple versions of code to do different things with data, this technique allows you to have only one copy of that logic.

kevin_forsytheWritten by Kevin Forsythe

As we try to develop more modular code, one of the problems that we encounter is how to integrate modules or procedures that need to process more than a single record or row of data. We already know that we can easily pass parameters or arguments between procedures that hold all the data we need if we are processing only a single row or record. But what if we want to call a process that processes all the records for a selected part, or all the records for a given PO, or any similar process? What if we want to pass an array or multiple-occurrence data structure? Those have some limitations that make them more difficult to implement.

Last Updated on Friday, 19 June 2009 00:00
Read more...
               
<< Start < Prev 1 2 3 4 5 6 7 8 9 10 Next > End >>

Page 1 of 19

WHITE PAPERS

The following White Papers can be found at the MC White Paper Center

 

 

Special Section: Business Continuity Today

 

___________________________________

 

 

TRIAL SOFTWARE

The following trial software can be found at the MC Press Software Center.

 


   MC-STORE.COM