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

Printing only the block of code

There's no need to print an entire program just to look at a few lines. This tips shows you how to print just what you need.

Do you know that you can print just the block of code that you want to take a closer look at on the logic, by printing...

hard copy. I saw programmers printing the whole program of 3000 to 5000 lines just to take a closer look at the subroutine that has 100 to 200 lines.

On the source line number, just type LLP once for beginning of the block and LLP once again at end of the block and press enter. This will print only the lines between these LLP blocks. This saves time, paper and less confusion viewing all the papers printed.

This was last published in January 2001

Dig Deeper on RPG iSeries programming

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.