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



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: