My shop just announced that it intends to convert from RPGLE on the ISeries 400 platform, to SQL, such that the procedures will be portable to other hardware platforms. What documentation to I need to acquire to train on writing SQL procedures; initially within DB2/400?
Software/Hardware used:
ASKED:
June 21, 2010 8:30 PM
UPDATED:
June 22, 2010 8:04 AM
My experience with Procedure/Java programming was very different from RPG.
The basic construct is likely to be differet.
Procedural environments, RPG, flow from task to task under program control.
Web based systems are “session-less” requests for action. When the procedure receives the request it doesn’t have a known past or known future, just a present.
For instance you do not lock a record when fetching the data for display because you do not know what the next action will be.
Requests from a single web session may be processed by different 400 jobs so the use of Qtemp, SETTING LIBRARY LISTS, ETC will only be reliable within the single call to the procedure. Next call my have a different processing job, different QTEMP, ETC.
Phil