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

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchEnterpriseLinux

SearchDataCenter

Close