× 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.



Buck,
You forgot the group indicators ;-
Karl.

-----Ursprüngliche Nachricht-----
Von: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxxxxxxxx] Im Auftrag von
Buck Calabro
Gesendet: Montag, 7. Dezember 2020 15:46
An: RPG programming on IBM i
Betreff: Re: Did anybody ever use halt indicators?

On Sat, 5 Dec 2020 at 07:44, Jerry Adams <midrange@xxxxxxxx> wrote:


That brought back memories, Buck - both good and traumatic.

I kept the front panel of the last System/3 that we owned.
It was being shipped to the scrapyard.

Part of the problem, as I remembered it, is that if you turned on, say, H1
in one cycle it did not rear its head until the beginning of the next
detailed part of the cycle. Maybe RPG IV is different so I wrote a very
simple program to find out.

Right. Halt indicators did not stop the program at the instant they
turned on; the program continued on until the end of the detail cycle
and then halted. It pretty much had to work that way, because that's
how the input cards ended in the output stacker :-) The machine would
halt and you would know what record(s) caused the error by looking at
the last cards in the stacker. One assumes that for reasons of
backward compatibility, this behaviour was never changed through all
the years and all the versions of the RPG language.

I think that the most ancient remnants of RPG are all related to the
cycle: Primary files :-), Matching Record (Primary and Secondary
files), and Halt indicators. Honourable mention: Field Record Relation
indicators.

--buck

As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.