MC Press is currently developing a book on RPG Free Format. It will address the specifics of coding in free format and should be out in early 2nd quarter.
MC Press is currently developing a book on RPG Free Format. It will address the specifics of coding in free format and should be out in early 2nd quarter.
Okay but Too late, Do you know how can we use Chain and Movel in Free RPG
Hi, Check the sample below for chain operation. Here EmployeeID is the key. Employees is the file name. more can be found at bmyeres.net/resource.. I missed the code /FREE EmpNbrErr = *OFF; Chain(ne) EmployeeID Employees; Select; When %Error;[*]INLR = *ON; Return; When %Found; Eval(h) TotalPay = (RegHours * Rate) + (OvtHours * Rate * 1.5); CalcTaxes(EmployeeID:TotalPay); Other; EmpNbrErr = *ON; Endsl; /END-FREE
Thanks for th e code. But this link does not work bmyeres.net/resource
hi, sorry it was typo error. check out http://www.bmeyers.net/index.php regards, srini
Thank you.
Where can I get some information about RPG free format ?
More help with freeform can be found in sample code at www.code400.com Also try the IBM RPG Manual at http://publib.boulder.ibm.com/iserie...2924/index.htm They give freeform as well as fixed format commands. Another powerful and sometimes overlooked source : The source editor. Both WSDC and CODE offer one-click conversion from fixed to free-form. A great learning tool!