Contact | Privacy Policy
    SiD HOME    |    ABOUT US    |    SERVICES    |    COMMUNITY    |    DOWNLOAD
 
March 23-25, 2010 in Fort Worth
Special Offers & Sponsors
News Headlines
March 1, 2010
SiD's EDiT program offers 12 grants to unemployed developers
March 1, 2010
Trevor Perry to deliver Keynote
February 25, 2010
Skip Marchesani and Mike Cain on What's New in DB2 on i
February 11, 2010
How to Document ILE RPG Apps using a free tool by Paul Tuohy
January 28, 2010
Susan and Paul discuss MySQL: Blessing or Heresy?
January 5, 2010
March 2010 Summit will combine training with 1-on-1 advice
October 14, 2009
IBM's Jarman gives first public preview of IBM i 7.1 at the Summit

RPGLEDOC - Document Procedure and Program Calls

Modern RPG applications consist of a multitude of subprocedures and programs - a lot more than there were in the traditional RPG applications. Although modern tools, such as the outline view in Remote System Explorer, can provide me with a list of callable subprocedures and programs, they cannot tell me exactly what the subprocedure/program does, what the possible values are for parameters or what the possible return values are.

Which leads to that terrible four lettered word - documentation. Yes, it all has to be documented and we all know how much RPG programmers like to write documentation.

This is a problem which has already been tackled in Java, PHP and other languages. JavaDoc and PHPDoc offer a facility whereby programmers put special comments in their code and a command is used to scan the code and generate documentation web pages from the comments.

Can the JavaDoc approach be used in RPG? By applying a few terms and conditions, of course it can. Why not check out what it looks like using CGIDEV2 or, if you prefer using PHP.

RPGLEDOC comes in two parts - a set of programs to generate the RPGLEDOC documentation and examples of how you might view the contents of the documentation using either CGIDEV2 or PHP.

Each of the downloads is a zip file containing a directory. Each directory contains a READ_ME document which contains details on how to install and use the programs

Please not that these are not supported products - the source of the programs is included and you are free to chop and change them as you wish (standard disclaimer follows). Of course, if you come across any bugs please let us know

THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Home | Conferences | About Us | System i Community | Privacy Policy | Legal Notices | Email Webmaster | Contact
System i Developer,LLC © 2010