Problem solve Get help with specific problems with your technologies, process and projects.

Indented source in compile listings

If you use printed RPG programs to compile listings, here's a neat trick if you'd like to see indented source code.

By Debora Ames
On your compile listing parameters for the command CRTBNDRPG, one of the parameters is called INDENT - which is a source listing indentation. In the field for that parameter you specifies the characters that are used to mark the structured operation clauses. I like to use the | which is found underneath the backspace key (the last character on the same row as the "P"). This produces a neat line for you to follow the indention.

==================================
MORE INFORMATION ON THIS TOPIC
==================================

The Best Web Links: tips, tutorials and more.

Ask your programming questions--or help out your peers by answering them--in our live discussion forums.

Ask the Experts yourself: Our application development gurus are waiting to answer your programming questions.

Search400's targeted search engine: Get relevant information on RPG.


This was last published in February 2002

Dig Deeper on iSeries CL programming

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataCenter

Close