× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi Sharon,

Can I ask a silly question? Why does it matter whether LR is on in the called program? What will you do differently?

Perhaps you need to make it more abstract. Instead of relying on LR, you could pass a parameter that signals, err... whatever it is that you're trying to signal :)

In other words, you should try to focus on what your programs are trying to say to each other, instead of focusing on whether they ended with some arbitrary indicator turned on. Just my opinion.




Sharon Cannon wrote:
I'm trying to convert a fixed-format RPG program to ILE free-format.
Unfortunately, it has a CALL with an indicator in positions 75 and 76 to
check if the program returned with the LR indicator on. I want to
convert that CALL to a free-format CALLP, but I'm not sure how to handle
that LR indicator situation.


Is there some way to use the program status data structure and check for
a status of 00001?


It just irks me no end to have to leave that one section of the program
in fixed format with a /end-free and a /free. Thanks in advance for any
help you can give.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.