Reader Feedback and Insights: RPG II
December 4, 2002 Timothy Prickett Morgan
Hey, Ted:
I am writing in response to your article, “Help with RPG II Programs“, which published in the November 1 issue of Midrange Guru, where you explained replacing indicators in S/36 RPG code. You provided some good suggestions about indicator replacement in S/36 code. Since I’m still ‘hip boots and snorkel deep’ in that code, I have a few more suggestions.
|
Definitely investigate the replacement of calculation result indicators with the “IFEQ” calculation operations.
If it appears that you still need to retain an indicator for conditioning output, investigate including an EXCPT op code within the “IFXX” calculation to achieve your goal.
Now, a caution about your suggestion to use the cross-reference listing and remove non U1-U8 indicators that appear to be used unused. If it is not a batch program, check your SDA screen specifications first. The indicator that you may be planning to delete could be conditioning the screen cursor placement or display.
An additional note to consider on a separate topic: I’m still running S/36 guest machine on an AS/400. I’m chronically running short on disk space on the S/36 machine. I’ve been able to somewhat circumvent the S/36 guest machine disk space allocation restrictions by using DDM to copy archive or backup files to the AS/400 side for storage..
There is a lot of S/36 code out there! Please keep the tips coming!
— Sheri
Sponsored By ADVANCED SYSTEMS CONCEPTS |
Business Analytics SEQUEL FYI
User Quote: SEQUEL FYI offers outstanding OLAP business intelligence functionality for a fraction of the cost of comparable solutions. |