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.

Dig Deeper on RPG iSeries programming

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.