When mixing embedded SQL with free format RPG, a
programmer has to constantly place a /end-free before each SQL and a
/free after the SQL code. This also creates a difficult to read portion
of code. To alleviate this, I put all my SQL calls in subroutines by
themselves. This allows the main code to be read easily and keeps the
programmer from having to add the /free and /end-free lines throughout
his code. ==================================
MORE INFORMATION ON THIS TOPIC
==================================
The Best Web Links: tips, tutorials and more.
Visit the ITKnowledge Exchange and get answers to your developing questions fast.
Ask the Experts yourself: Our application development gurus are waiting to answer your programming questions.