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

RPG comment lines in different colors

This program generates a file with different colors.

This program generates a file with different colors. These lines you can use as colored comment lines in your RPG programs. First you have to do an OVRDBF on the QRPGLESRC or QRPGSRC to a RPG or text file of your choice. After that you have to run the program. This program generates different colored lines. You can use the color lines for comments in your RPG programs. Copy one line in your program and you have a colored text.


   fqrpgsrc   o    e      disk
f                             rename(qrpgsrc:fmt1)

dsrcdta     ds       80
d hexwer         06  06
d detc           07  07

c          move   X'20'    hexwer
c          add    1        srcseq
c          write  fmt1

c          move   X'21'    hexwer
c          add    1        srcseq
c          write  fmt1

c   ..... x'22'.....x'23'....

c          movel   *on   *inlr 

Dig Deeper on RPG iSeries programming

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataCenter

Close