Reader Feedback and Insights: Indicators in RPG II Programs
November 15, 2002 Timothy Prickett Morgan
Just a comment on your good ideas (which were published in the article, “Help with RPG II Programs,” in the November 1 issue of Midrange Guru) for making System/36 style code easier to use.
I have gotten in the habit of using the DO op code to group calculations that have the same conditioning indicators .
For example, consider a group of calculations conditioned by indicator 25:
CHAIN 25 N25 MOVE N25 Z-ADD N25 etc.......
I would group them like this:
CHAIN 25 N25 DO MOVE Z-ADD etc....... END
It saves me from loading “fieldicators”