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 first published in February 2002

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchEnterpriseLinux

SearchDataCenter

Close